Force a repaint when becoming fullscreen

Fixes game screen when fullscreen is entered with game pauses
This commit is contained in:
Ilari Liusvaara 2015-02-14 01:25:17 +02:00
parent 19b12b1215
commit ea78fecb1b

View file

@ -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);