mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-15 06:28:07 +00:00
GE Debugger: Fix preview crash.
In some cases on first draw (e.g. from a test), this might be null and crash. It was supposed to be the other program.
This commit is contained in:
parent
77f0499f7f
commit
921727f163
@ -494,7 +494,7 @@ void CGEDebugger::UpdatePrimPreview(u32 op, int which) {
|
||||
}
|
||||
|
||||
if (texPreviewVao == 0) {
|
||||
glDisableVertexAttribArray(previewProgram->a_position);
|
||||
glDisableVertexAttribArray(texPreviewProgram->a_position);
|
||||
}
|
||||
|
||||
secondWindow->End();
|
||||
|
Loading…
x
Reference in New Issue
Block a user