From 529d280167697be0ec5b0b37fbd6068bf0eff1b8 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 14 May 2005 21:55:54 +0000 Subject: [PATCH] (svn r2312) - Fix (regression): changing to/from fullscreen got broken with SDL. --- sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl.c b/sdl.c index f8f3e650ed..e91063c7a6 100644 --- a/sdl.c +++ b/sdl.c @@ -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