Make sure not to leak any enabled vertex arrays.

When returning to EmuScreen, we need to reset any enabled vertex arrays or
we could crash in EmuScreen.  Also, when starting a frame / dirting the
shader, make sure also to toggle the vertex arrays.
This commit is contained in:
Unknown W. Brackets committed 2014-06-22 21:42:29 -07:00
1 parent b8ad665b53
commit 6d104edb5d
6 files changed
+11 -1

No files matched your search

+2
View File
@@ -454,6 +454,8 @@ void PSP_RunLoopUntil(u64 globalticks) {
} else {
mipsr4k.RunLoopUntil(globalticks);
}
gpu->CleanupBeforeUI();
}
void PSP_RunLoopFor(int cycles) {