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

Fonts: narrowed invalid value for ImFontAtlasRectId to -1 a we will change implementation.

This commit is contained in:
ocornut 2025-03-13 16:54:39 +01:00
parent b12c42e75d
commit 85d0507580
3 changed files with 13 additions and 13 deletions

View file

@ -3691,7 +3691,7 @@ IMGUI_API const ImFontLoader* ImFontAtlasGetFontLoaderForStbTruetype();
// [SECTION] ImFontAtlas internal API
//-----------------------------------------------------------------------------
typedef int ImFontAtlasRectId; // <0 when invalid
typedef int ImFontAtlasRectId; // -1 when invalid
// Packed rectangle lookup entry (we need an indirection to allow removing/reordering rectangles)
// User are returned ImFontAtlasRectId values which are meant to be persistent.