fix: Force font atlas texture to not get too tall
This commit is contained in:
parent
baa5c34b55
commit
5faf1380d7
@ -227,6 +227,7 @@ namespace hex::init {
|
||||
cfg.SizePixels = fontSize;
|
||||
|
||||
fonts->Flags |= ImFontAtlasFlags_NoPowerOfTwoHeight;
|
||||
fonts->TexDesiredWidth = 8096;
|
||||
|
||||
// Configure font glyph ranges that should be loaded from the default font and unifont
|
||||
static ImVector<ImWchar> ranges;
|
||||
|
Loading…
Reference in New Issue
Block a user