mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-04 06:12:04 +00:00
[client] renderers: only rebuild the font atlas if marked dirty
This commit is contained in:
@@ -1157,7 +1157,7 @@ void app_registerImGuiText(const char * text)
|
||||
if (!util_uiFontAddText(text))
|
||||
return;
|
||||
|
||||
atomic_fetch_add(&g_state.lgrResize, 1);
|
||||
atomic_store(&g_state.fontDirty, true);
|
||||
app_invalidateOverlay(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user