mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
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:
parent
43ba55e308
commit
594c1f542d
@ -59,6 +59,7 @@ void OSystem_SDL_Common::init_intern(int gfx_mode, bool full_screen, bool aspect
|
||||
_mode = gfx_mode;
|
||||
_full_screen = full_screen;
|
||||
_adjustAspectRatio = aspect_ratio;
|
||||
_mode_flags = 0;
|
||||
|
||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK) ==-1) {
|
||||
error("Could not initialize SDL: %s.\n", SDL_GetError());
|
||||
|
@ -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);
|
||||
|
@ -94,7 +94,7 @@ void OSystem_SDL_OpenGL::load_gfx_mode() {
|
||||
Amask = 0;
|
||||
|
||||
_forceFull = true;
|
||||
_mode_flags = DF_UPDATE_EXPAND_1_PIXEL;
|
||||
_mode_flags |= DF_UPDATE_EXPAND_1_PIXEL;
|
||||
|
||||
_tmpscreen = NULL;
|
||||
_tmpScreenWidth = (_screenWidth + 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user