From d70c830b4d089e749ff5aa84a3d479be7911995a Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 12 Apr 2014 17:14:37 -0400 Subject: video: Change default for screen_bpp to 0. Some machines don't work well with 8-bit screen depths any more. It's better to default to just using the machine's native color depth instead. Change the default to 0 (for SDL_SetVideoMode this means "use native color depth"), auto-adjust to native color depth on startup if screen_bpp=0 (so that debug messages at least make sense) and document for the config file value that a value of zero means "use native". --- src/setup/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/setup/display.c') diff --git a/src/setup/display.c b/src/setup/display.c index da440fce..4e2231d7 100644 --- a/src/setup/display.c +++ b/src/setup/display.c @@ -106,7 +106,7 @@ static int aspect_ratio_correct = 1; static int fullscreen = 1; static int screen_width = 320; static int screen_height = 200; -static int screen_bpp = 8; +static int screen_bpp = 0; static int startup_delay = 1000; static int usegamma = 0; -- cgit v1.2.3