mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue