From 186c5c7f58b1b6b24f1f07990d278a10abe2add9 Mon Sep 17 00:00:00 2001 From: neonloop Date: Fri, 7 May 2021 20:09:32 +0000 Subject: Initial trimui s support --- src/libs/graphics/sdl/pure.c | 2 +- src/uqm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/libs/graphics/sdl/pure.c b/src/libs/graphics/sdl/pure.c index df4a329..cfefb41 100644 --- a/src/libs/graphics/sdl/pure.c +++ b/src/libs/graphics/sdl/pure.c @@ -141,7 +141,7 @@ TFB_Pure_ConfigureVideo (int driver, int flags, int width, int height, int toggl /* We'll ask for a 32bpp frame, but it doesn't really matter, because we've set SDL_ANYFORMAT */ SDL_Video = SDL_SetVideoMode (ScreenWidthActual, ScreenHeightActual, - 32, videomode_flags); + 16, videomode_flags); if (SDL_Video == NULL) { diff --git a/src/uqm.c b/src/uqm.c index 43c25d8..0053d43 100644 --- a/src/uqm.c +++ b/src/uqm.c @@ -241,7 +241,7 @@ main (int argc, char *argv[]) /* .graphicsBackend = */ NULL, INIT_CONFIG_OPTION( opengl, false ), - INIT_CONFIG_OPTION2( resolution, 640, 480 ), + INIT_CONFIG_OPTION2( resolution, 320, 240 ), INIT_CONFIG_OPTION( fullscreen, false ), INIT_CONFIG_OPTION( scanlines, false ), INIT_CONFIG_OPTION( scaler, 0 ), -- cgit v1.2.3