shithub: choc

Download patch

ref: 2bfb1bbabbea44124ead9169a1a7358667f70b3a
parent: 301a9f04282056141658dd122eb5a9725e0d5430
author: Simon Howard <fraggle@soulsphere.org>
date: Mon Oct 29 15:32:42 EDT 2018

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.

--- a/src/i_video.c
+++ b/src/i_video.c
@@ -110,8 +110,8 @@
 
 // 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.
 
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -71,7 +71,7 @@
 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;