Force a repaint when becoming fullscreen
Fixes game screen when fullscreen is entered with game pauses
This commit is contained in:
parent
19b12b1215
commit
ea78fecb1b
1 changed files with 1 additions and 0 deletions
|
@ -1870,6 +1870,7 @@ void wxwin_mainwindow::enter_or_leave_fullscreen(bool fs)
|
|||
is_fs = fs;
|
||||
ShowFullScreen(true);
|
||||
becoming_fullscreen = true;
|
||||
request_paint(); //Finish the resizing by running paint handler.
|
||||
} else if(!fs && is_fs) {
|
||||
becoming_fullscreen = false;
|
||||
ShowFullScreen(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue