diff --git a/src/glyph_cache/glyph_cache.c b/src/glyph_cache/glyph_cache.c index ec5e560f..715d01a9 100644 --- a/src/glyph_cache/glyph_cache.c +++ b/src/glyph_cache/glyph_cache.c @@ -252,7 +252,7 @@ void GC_TickAsync(WaveLaneCtx *lane, AsyncTickCtx *tick) { /* TODO: Remove this */ /* Create atlas */ - Vec2I32 atlas_dims = VEC2I32(1024, 1024); + Vec2I32 atlas_dims = VEC2I32(8192, 8192); if (G_IsResourceNil(GC.atlas)) { G_ArenaHandle gpu_perm = G_PermArena(); @@ -260,7 +260,7 @@ void GC_TickAsync(WaveLaneCtx *lane, AsyncTickCtx *tick) gpu_perm, G_Format_R8G8B8A8_Unorm_Srgb, atlas_dims, - /* FIXME: We may need simultaneous access? */ + /* FIXME: Do we need simultaneous access? */ G_Layout_AnyQueue_ShaderRead_CopyRead_CopyWrite_Present, ); GC.atlas_ref = G_PushTexture2DRef(gpu_perm, GC.atlas); diff --git a/src/ui/ui_core.c b/src/ui/ui_core.c index be973f9f..d3d2db7c 100644 --- a/src/ui/ui_core.c +++ b/src/ui/ui_core.c @@ -1275,7 +1275,6 @@ void UI_EndFrame(UI_Frame *frame) { GC_RunRect rr = elipses_run.rects[rect_idx]; rr.baseline_pos += elipses_start_pos; - rr.bounds = AddRng2Vec2(rr.bounds, VEC2(elipses_start_pos, 0)); if ((rr.baseline_pos + rr.advance) <= max_baseline) { final_rects[final_rects_count] = rr;