summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);