mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 18:10:35 +00:00
Set program to 0 after deletion so we don't try to delete twice
This commit is contained in:
@@ -740,6 +740,7 @@ void GLReplay::DeleteDebugData()
|
||||
gl.glDeleteProgram(DebugData.histogramProgram[idx]);
|
||||
|
||||
gl.glDeleteProgram(DebugData.minmaxResultProgram[i]);
|
||||
DebugData.minmaxResultProgram[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user