Early init of the scaler - to prevent ComI trying to use a huge window by default.
This may require porters to make a small backend change, not to reinit a scaler on hotswap if the display has not been init_size'ed. svn-id: r6449
This commit is contained in:
parent
62780b34d7
commit
0b46f85b7e
2 changed files with 8 additions and 5 deletions
|
@ -191,6 +191,8 @@ void OSystem_SDL::unload_gfx_mode() {
|
|||
}
|
||||
|
||||
void OSystem_SDL::hotswap_gfx_mode() {
|
||||
if (!_screen)
|
||||
return;
|
||||
|
||||
// Keep around the old _screen & _tmpscreen so we can restore the screen data
|
||||
// after the mode switch.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue