commit 2bfb1bbabbea44124ead9169a1a7358667f70b3a
Author: Simon Howard <fraggle@soulsphere.org>
AuthorDate: Mon Oct 29 19:32:42 2018 -0400
Commit: Simon Howard <fraggle@soulsphere.org>
CommitDate: Mon Oct 29 19:32:42 2018 -0400
video: Bump default window size to 800x600.
640x480 was the default for a long time but modern monitors are higher
resolution and now we use hardware scaling there's no reason to hold
back for any CPU reason. 800x600 is also a good default because on 2x
retina displays it doubles up to 1600x1200 which is a perfect integer
scale-up.
---
src/i_video.c | 4 ++--
src/setup/display.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/i_video.c b/src/i_video.c
index f94b454f..80b1e7b7 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -110,8 +110,8 @@ int video_display = 0;
// Screen width and height, from configuration file.
-int window_width = SCREENWIDTH * 2;
-int window_height = SCREENHEIGHT_4_3 * 2;
+int window_width = 800;
+int window_height = 600;
// Fullscreen mode, 0x0 for SDL_WINDOW_FULLSCREEN_DESKTOP.
diff --git a/src/setup/display.c b/src/setup/display.c
index ee402b70..763ab4ed 100644
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -71,7 +71,7 @@ static int vga_porch_flash = 0;
static int force_software_renderer = 0;
static int fullscreen = 1;
static int fullscreen_width = 0, fullscreen_height = 0;
-static int window_width = 640, window_height = 480;
+static int window_width = 800, window_height = 600;
static int startup_delay = 1000;
static int max_scaling_buffer_pixels = 16000000;
static int usegamma = 0;