diff options
author | Darkvater <Darkvater@openttd.org> | 2005-05-14 21:55:54 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-05-14 21:55:54 +0000 |
commit | 529d280167697be0ec5b0b37fbd6068bf0eff1b8 (patch) | |
tree | e16b792403f888b4273880163ba13113d56712fb | |
parent | a77e736431d847ad322bc808a59b9ad821461fd8 (diff) | |
download | openttd-529d280167697be0ec5b0b37fbd6068bf0eff1b8.tar.xz |
(svn r2312) - Fix (regression): changing to/from fullscreen got broken with SDL.
-rw-r--r-- | sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -636,7 +636,7 @@ static bool SdlVideoChangeRes(int w, int h) void ToggleFullScreen(bool full_screen) { - _fullscreen ^= full_screen; + _fullscreen = full_screen; GetVideoModes(); // get the list of available video modes if (!_video_driver->change_resolution(_cur_resolution[0], _cur_resolution[1])) _fullscreen ^= true; // switching resolution failed, put back full_screen to original status |