mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 09:21:08 +00:00
MADS: Reset screen clip bounds before copying over a new screen
This is needed for the in-game menu, where a dialog spawns another one
This commit is contained in:
parent
dbfe4972e3
commit
f0bcacc7b3
@ -457,6 +457,7 @@ void FullScreenDialog::display() {
|
||||
_vm->_palette->setLowRange();
|
||||
_vm->_screen.hLine(0, 20, MADS_SCREEN_WIDTH, 2);
|
||||
_vm->_screen.hLine(0, 179, MADS_SCREEN_WIDTH, 2);
|
||||
_vm->_screen.resetClipBounds();
|
||||
_vm->_screen.copyRectToScreen(Common::Rect(0, 0, MADS_SCREEN_WIDTH, MADS_SCREEN_HEIGHT));
|
||||
|
||||
// Restrict the screen to the area between the two lines
|
||||
|
Loading…
Reference in New Issue
Block a user