GRIM: Take adventage of kFeatureFullscreenToggleKeepsContext

This commit is contained in:
Bastien Bouclet 2017-08-26 22:24:18 +02:00
parent be5a139ce5
commit f4e3bd0424
7 changed files with 19 additions and 20 deletions

View file

@ -411,7 +411,6 @@ byte *GfxOpenGLS::setupScreen(int screenW, int screenH, bool fullscreen) {
_scaleW = _screenWidth / (float)_gameWidth;
_scaleH = _screenHeight / (float)_gameHeight;
_isFullscreen = g_system->getFeatureState(OSystem::kFeatureFullscreenMode);
#ifdef USE_GLES2
g_system->setFeatureState(OSystem::kFeatureVirtControls, true);
#endif