OPENGLSDL: Make fullscreen mode switching work again.
This commit is contained in:
parent
75fb3b4ef8
commit
325addff0c
1 changed files with 4 additions and 0 deletions
|
@ -460,6 +460,10 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue