From 359f72078d6471d89e351072c4d863dddaec8904 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 17 Jun 2014 01:06:25 -0700 Subject: [PATCH] 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. --- GPU/GLES/GLES_GPU.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GPU/GLES/GLES_GPU.cpp b/GPU/GLES/GLES_GPU.cpp index 56ed86d1da..78b03da430 100644 --- a/GPU/GLES/GLES_GPU.cpp +++ b/GPU/GLES/GLES_GPU.cpp @@ -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().