ref: 04fdb0e0ba855327943673ae6be188b1324ea9f6
parent: 26ef28d47a6ad078e0e1381d23018019becc0f21
author: Simon Howard <[email protected]>
date: Sun Feb 28 08:58:19 EST 2016
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.
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1205,13 +1205,4 @@
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
}
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -504,13 +504,4 @@
{
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
}