Fonts: fixed compaction gc-ing baked fonts used in the current frame + rename.

This commit is contained in:
ocornut
2025-06-11 15:56:39 +02:00
parent e8035b94e5
commit 0436fba13c
2 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -3702,7 +3702,7 @@ IMGUI_API const ImFontLoader* ImFontAtlasGetFontLoaderForStbTruetype();
struct ImFontAtlasRectEntry
{
int TargetIndex : 31; // When Used: ImFontAtlasRectId -> into Rects[]. When unused: index to next unused RectsIndex[] slot to consume free-list.
unsigned int Used : 1;
unsigned int IsUsed : 1;
};
// Data available to potential texture post-processing functions