mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
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:
1 parent
b8ad665b53
commit
6d104edb5d
6 files changed
+11
-1
No files matched your search
@@ -454,6 +454,8 @@ void PSP_RunLoopUntil(u64 globalticks) {
|
||||
} else {
|
||||
mipsr4k.RunLoopUntil(globalticks);
|
||||
}
|
||||
|
||||
gpu->CleanupBeforeUI();
|
||||
}
|
||||
|
||||
void PSP_RunLoopFor(int cycles) {
|
||||
|
||||
Reference in new issue
Block a user