1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-09 23:54:20 +00:00

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

This commit is contained in:
ocornut 2025-03-31 22:38:05 +02:00
parent e8035b94e5
commit 0436fba13c
2 changed files with 13 additions and 12 deletions

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