mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 11:49:05 +02:00
Disable vsync when exiting the game.
Not sure why, but with some drivers not doing this makes the process burn cpu usage when back in the menu. Fixes #6351.
This commit is contained in:
1 parent
565bb98db1
commit
359f72078d
1 file changed
+1
@@ -457,6 +457,7 @@ GLES_GPU::~GLES_GPU() {
|
||||
shaderManager_->ClearCache(true);
|
||||
depalShaderCache_.Clear();
|
||||
delete shaderManager_;
|
||||
glstate.SetVSyncInterval(0);
|
||||
}
|
||||
|
||||
// Let's avoid passing nulls into snprintf().
|
||||
|
||||
Reference in new issue
Block a user