mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
NULL out font texture on invalidate
If this isn't done, NewFrame won't re-create the font.
This commit is contained in:
parent
72dde4d323
commit
e4d916a4b3
1 changed files with 1 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ void ImGui_ImplDX9_InvalidateDeviceObjects()
|
|||
tex->Release();
|
||||
ImGui::GetIO().Fonts->TexID = 0;
|
||||
}
|
||||
g_FontTexture = NULL;
|
||||
}
|
||||
|
||||
void ImGui_ImplDX9_NewFrame()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue