mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +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
@ -285,6 +285,7 @@ void ImGui_ImplDX9_InvalidateDeviceObjects()
|
|||||||
tex->Release();
|
tex->Release();
|
||||||
ImGui::GetIO().Fonts->TexID = 0;
|
ImGui::GetIO().Fonts->TexID = 0;
|
||||||
}
|
}
|
||||||
|
g_FontTexture = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImGui_ImplDX9_NewFrame()
|
void ImGui_ImplDX9_NewFrame()
|
||||||
|
Loading…
Reference in New Issue
Block a user