From 219ab378d7e0239e0412e2c4e6cd22895f6b182e Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sun, 11 Nov 2001 05:09:16 +0000 Subject: [PATCH] Fixed stupid fullscreen toggle error --- src/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.c b/src/main.c index 12cab30..072953a 100644 --- a/src/main.c +++ b/src/main.c @@ -108,7 +108,6 @@ int SetSoftVideoMode(int Width, int Height, int Depth) if (isgrab == SDL_GRAB_ON) { SDL_WM_GrabInput(SDL_GRAB_ON); - SDL_WM_ToggleFullScreen(surface); } ScreenDescriptorBlock.SDB_Width = Width; @@ -174,7 +173,6 @@ int SetOGLVideoMode(int Width, int Height) if (isgrab == SDL_GRAB_ON) { SDL_WM_GrabInput(SDL_GRAB_ON); - SDL_WM_ToggleFullScreen(surface); } glViewport(0, 0, Width, Height);