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:
Unknown W. Brackets committed 2014-06-17 01:06:25 -07:00
1 parent 565bb98db1
commit 359f72078d
1 file changed
+1
+1
View File
@@ -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().