mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-06 05:55:10 +00:00
WIP - ImFontAtlasBuildInit() uses the occasion to sync HasTexUpdates from imgui context, narrowing the scope where it isn't set.
This commit is contained in:
parent
70b4e9150f
commit
a754c61926
1 changed files with 2 additions and 0 deletions
|
@ -3915,6 +3915,8 @@ void ImFontAtlasBuildInit(ImFontAtlas* atlas)
|
|||
if (builder_is_new)
|
||||
builder = atlas->Builder = IM_NEW(ImFontAtlasBuilder)();
|
||||
|
||||
ImFontAtlasBuildUpdateRendererHasTexUpdatesFromContext(atlas);
|
||||
|
||||
ImFontAtlasPackInit(atlas);
|
||||
|
||||
// Add required texture data
|
||||
|
|
Loading…
Add table
Reference in a new issue