commit 04fdb0e0ba855327943673ae6be188b1324ea9f6
Author: Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sun Feb 28 13:58:19 2016 -0500
Commit: Simon Howard <fraggle@soulsphere.org>
CommitDate: Sun Feb 28 13:58:19 2016 -0500
video: Remove windowed mode override for OS X.
With SDL2 we don't need to default the game to running in a window
any more. Just run fullscreen like every other platform.
---
src/i_video.c | 9 ---------
src/setup/display.c | 9 ---------
2 files changed, 18 deletions(-)
diff --git a/src/i_video.c b/src/i_video.c
index 811d7632..2a6bf53a 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1205,13 +1205,4 @@ void I_BindVideoVariables(void)
M_BindStringVariable("window_position", &window_position);
M_BindIntVariable("usegamma", &usegamma);
M_BindIntVariable("png_screenshots", &png_screenshots);
-
- // Disable fullscreen by default on OS X, as there is an SDL bug
- // where some old versions of OS X (<= Snow Leopard) crash.
-
-#ifdef __MACOSX__
- fullscreen = 0;
- screen_width = 800;
- screen_height = 600;
-#endif
}
diff --git a/src/setup/display.c b/src/setup/display.c
index 24994c3c..917fd44b 100644
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -504,13 +504,4 @@ void BindDisplayVariables(void)
{
M_BindIntVariable("graphical_startup", &graphical_startup);
}
-
- // Disable fullscreen by default on OS X, as there is an SDL bug
- // where some old versions of OS X (<= Snow Leopard) crash.
-
-#ifdef __MACOSX__
- fullscreen = 0;
- screen_width = 800;
- screen_height = 600;
-#endif
}