OPENGLSDL: Remove HACK in fullscreen toggle mode.

Altering the fullscreen state will automatically force a refresh now.
This commit is contained in:
Johannes Schickel 2012-02-15 02:10:38 +01:00
parent 5b3ebdf43d
commit b6f7d69709

View File

@ -460,10 +460,6 @@ void OpenGLSdlGraphicsManager::toggleFullScreen(int loop) {
_activeFullscreenMode = -2;
setFullscreenMode(!isFullscreen);
}
// HACK: We need to force a refresh here, since we change the
// fullscreen mode.
_transactionDetails.needRefresh = true;
endGFXTransaction();
// Ignore resize events for the next 10 frames