fix: Cut font texture width in half

This commit is contained in:
WerWolv 2023-10-06 14:28:10 +02:00
parent 9e5e3e94a3
commit d36e299c35
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ namespace hex::init {
cfg.SizePixels = fontSize; cfg.SizePixels = fontSize;
fonts->Flags |= ImFontAtlasFlags_NoPowerOfTwoHeight; fonts->Flags |= ImFontAtlasFlags_NoPowerOfTwoHeight;
fonts->TexDesiredWidth = 8096; fonts->TexDesiredWidth = 4096;
// Configure font glyph ranges that should be loaded from the default font and unifont // Configure font glyph ranges that should be loaded from the default font and unifont
static ImVector<ImWchar> ranges; static ImVector<ImWchar> ranges;