summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-11-11 05:09:16 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:36 +0200
commit219ab378d7e0239e0412e2c4e6cd22895f6b182e (patch)
tree2de38c7bcfb7d3d92d0a3fef09a1cea7d5033605 /src
parent66c945fb7d22ff797a88b18213ad4a4d9cb46211 (diff)
Fixed stupid fullscreen toggle error
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 0 insertions, 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);