mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Examples: DirectX9/10/11: Comments
This commit is contained in:
		| @@ -313,10 +313,11 @@ void ImGui_ImplDX9_InvalidateDeviceObjects() | ||||
|     } | ||||
|  | ||||
|     // At this point note that we set ImGui::GetIO().Fonts->TexID to be == g_FontTexture, so clear both. | ||||
|     ImGuiIO& io = ImGui::GetIO(); | ||||
|     IM_ASSERT(g_FontTexture == io.Fonts->TexID); | ||||
|     if (g_FontTexture) | ||||
|         g_FontTexture->Release(); | ||||
|     g_FontTexture = NULL; | ||||
|     ImGuiIO& io = ImGui::GetIO(); | ||||
|     io.Fonts->TexID = NULL; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 omar
					omar