Fixed mishandling of _mode_flags that prevented the Simon games from using

the DF_WANT_RECT_OPTIM flag.

svn-id: r9095
This commit is contained in:
Torbjörn Andersson 2003-07-20 18:53:27 +00:00
parent 43ba55e308
commit 594c1f542d
3 changed files with 3 additions and 2 deletions

View file

@ -56,7 +56,7 @@ OSystem_SDL::OSystem_SDL()
void OSystem_SDL::load_gfx_mode() {
_forceFull = true;
_mode_flags = DF_UPDATE_EXPAND_1_PIXEL;
_mode_flags |= DF_UPDATE_EXPAND_1_PIXEL;
_tmpscreen = NULL;
_tmpScreenWidth = (_screenWidth + 3);