mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
EVENTRECORDER: Update screen resolution in GUI before showing anything
This properly fix bug encountered in 5af11925809267eee1abd5ddf251530f6f5f5572 Now the UI is notified size has changed and properly reiszes overlay surface.
This commit is contained in:
parent
68a327ecb1
commit
ef73bdac50
@ -606,6 +606,7 @@ void EventRecorder::preDrawOverlayGui() {
|
||||
RecordMode oldMode = _recordMode;
|
||||
_recordMode = kPassthrough;
|
||||
g_system->showOverlay();
|
||||
g_gui.checkScreenChange();
|
||||
g_gui.theme()->clearAll();
|
||||
g_gui.theme()->drawToBackbuffer();
|
||||
_controlPanel->drawDialog(kDrawLayerBackground);
|
||||
|
Loading…
x
Reference in New Issue
Block a user