mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-11-03 17:24: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:
		@@ -285,6 +285,7 @@ void ImGui_ImplDX9_InvalidateDeviceObjects()
 | 
			
		||||
        tex->Release();
 | 
			
		||||
        ImGui::GetIO().Fonts->TexID = 0;
 | 
			
		||||
    }
 | 
			
		||||
    g_FontTexture = NULL;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void ImGui_ImplDX9_NewFrame()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user