WIP - ImFontAtlasBuildInit() uses the occasion to sync HasTexUpdates from imgui context, narrowing the scope where it isn't set.

This commit is contained in:
ocornut 2025-01-13 20:25:16 +01:00
parent 70b4e9150f
commit a754c61926

View file

@ -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