mirror of
https://github.com/ocornut/imgui.git
synced 2026-04-19 14:00:54 +00:00
(Breaking) Removed atlas->TexDesiredWidth now unnecessary (github 327)
This commit is contained in:
@@ -60,7 +60,6 @@ Some solutions:
|
||||
- Reduce glyphs ranges by calculating them from source localization data.
|
||||
You can use the `ImFontGlyphRangesBuilder` for this purpose and rebuilding your atlas between frames when new characters are needed. This will be the biggest win!
|
||||
- Set `io.Fonts.Flags |= ImFontAtlasFlags_NoPowerOfTwoHeight;` to disable rounding the texture height to the next power of two.
|
||||
- Set `io.Fonts.TexDesiredWidth` to specify a texture width to reduce maximum texture height (see comment in `ImFontAtlas::Build()` function).
|
||||
|
||||
Future versions of Dear ImGui should solve this problem.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user