Completed initial draft for guide_backend.odin

This commit is contained in:
2025-01-12 09:38:24 -05:00
parent a4dafe01c8
commit a47937f615
3 changed files with 33 additions and 2 deletions

View File

@@ -548,7 +548,7 @@ render_text_layer :: proc( screen_extent : ve.Vec2, ve_ctx : ^ve.Context, ctx :
samplers = { SMP_ve_blit_atlas_src_sampler = ctx.glyph_rt_sampler, },
})
// 3. Use the atlas to then render the text.
// 3. Use the atlas (.Target) or the glyph buffer (.Target_Unchached) to then render the text.
case .None, .Target, .Target_Uncached:
if num_indices == 0 && ! draw_call.clear_before_draw {
continue