diff --git a/examples/directx9_example/imgui_impl_dx9.cpp b/examples/directx9_example/imgui_impl_dx9.cpp index 1e7c790..fd1b03b 100644 --- a/examples/directx9_example/imgui_impl_dx9.cpp +++ b/examples/directx9_example/imgui_impl_dx9.cpp @@ -285,6 +285,7 @@ tex->Release(); ImGui::GetIO().Fonts->TexID = 0; } + g_FontTexture = NULL; } void ImGui_ImplDX9_NewFrame()