mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Fonts: narrowed invalid value for ImFontAtlasRectId to -1 a we will change implementation.
This commit is contained in:
parent
b12c42e75d
commit
85d0507580
3 changed files with 13 additions and 13 deletions
2
imgui.h
2
imgui.h
|
|
@ -3577,7 +3577,7 @@ struct ImFontAtlas
|
|||
// You can request arbitrary rectangles to be packed into the atlas, for your own purpose.
|
||||
// You can request your rectangles to be mapped as font glyph (given a font + Unicode point),
|
||||
// so you can render e.g. custom colorful icons and use them as regular glyphs.
|
||||
// - Since 1.92.X, packing is done immediately in the function call. Returns >= on success, <0 on error.
|
||||
// - Since 1.92.X, packing is done immediately in the function call. Returns -1 on error.
|
||||
// - You can render your pixels into the texture right after calling the AddCustomRectXXX() functions.
|
||||
// - If your backend supports ImGuiBackendFlags_RendererHasTextures:
|
||||
// Texture may be resized, so you cannot cache UV coordinates: always use CalcCustomRectUV().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue