OpenGL crashfix in dump replay

This commit is contained in:
Henrik Rydgård committed 2025-03-06 10:33:45 +01:00
1 parent 6dbfa85bce
commit fd09a2be27
1 file changed
+1 -1
+1 -1
View File
@@ -1087,7 +1087,7 @@ void ImGeDebuggerWindow::Draw(ImConfig &cfg, ImControl &control, GPUDebugInterfa
TexCacheEntry *tex = texcache ? texcache->SetTexture() : nullptr;
if (tex) {
ImGui::Text("Texture: ");
texcache->ApplyTexture();
texcache->ApplyTexture(false);
void *nativeView = texcache->GetNativeTextureView(tex, true);
ImTextureID texId = ImGui_ImplThin3d_AddNativeTextureTemp(nativeView);