mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 12:51:42 +00:00
Use IM_DELETE for deleting the existing font atlas.
This commit is contained in:
parent
54d92fc641
commit
f424c663cc
1 changed files with 1 additions and 1 deletions
|
|
@ -1073,7 +1073,7 @@ static void CreateImGuiBackend()
|
||||||
io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange;
|
io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange;
|
||||||
|
|
||||||
#ifdef ENABLE_IM_FONT_ATLAS_SNAPSHOT
|
#ifdef ENABLE_IM_FONT_ATLAS_SNAPSHOT
|
||||||
delete io.Fonts;
|
IM_DELETE(io.Fonts);
|
||||||
io.Fonts = ImFontAtlasSnapshot::Load();
|
io.Fonts = ImFontAtlasSnapshot::Load();
|
||||||
#else
|
#else
|
||||||
io.Fonts->TexDesiredWidth = 4096;
|
io.Fonts->TexDesiredWidth = 4096;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue