1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-02-17 19:09:27 +01:00

NULL out font texture on invalidate

If this isn't done, NewFrame won't re-create the font.
This commit is contained in:
Gargaj 2015-10-18 19:05:04 +02:00
parent 72dde4d323
commit e4d916a4b3

View File

@ -285,6 +285,7 @@ void ImGui_ImplDX9_InvalidateDeviceObjects()
tex->Release();
ImGui::GetIO().Fonts->TexID = 0;
}
g_FontTexture = NULL;
}
void ImGui_ImplDX9_NewFrame()