Fixed stupid fullscreen toggle error

This commit is contained in:
Steven Fuller 2001-11-11 05:09:16 +00:00 committed by Patryk Obara
parent 66c945fb7d
commit 219ab378d7

View file

@ -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);