summaryrefslogtreecommitdiff
path: root/src/i_video.c
diff options
context:
space:
mode:
authorneonloop2021-05-07 19:56:22 +0000
committerneonloop2021-05-07 19:56:22 +0000
commit752c5e7f995bdceba1853d05b4bc1348eefa8a3b (patch)
treefbb246a6720846c731a34df9df33364f8e6e89ea /src/i_video.c
parent2ddd290b8226e1d1f0c52e344e76150261a8c0c3 (diff)
downloadchocolate-doom-752c5e7f995bdceba1853d05b4bc1348eefa8a3b.tar.gz
chocolate-doom-752c5e7f995bdceba1853d05b4bc1348eefa8a3b.tar.bz2
chocolate-doom-752c5e7f995bdceba1853d05b4bc1348eefa8a3b.zip
Initial trimui s support
Diffstat (limited to 'src/i_video.c')
-rw-r--r--src/i_video.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i_video.c b/src/i_video.c
index ec0fc58f..6ebdbe46 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -181,7 +181,7 @@ static boolean native_surface;
// Screen width and height, from configuration file.
int screen_width = SCREENWIDTH;
-int screen_height = SCREENHEIGHT;
+int screen_height = SCREENHEIGHT_4_3;
// Color depth.
@@ -488,6 +488,7 @@ static int TranslateKey(SDL_keysym *sym)
return KEY_RSHIFT;
case SDLK_LCTRL:
+ return KEY_CAPSLOCK;
case SDLK_RCTRL:
return KEY_RCTRL;
@@ -1359,7 +1360,7 @@ static boolean AutoAdjustFullscreen(void)
// Never choose a screen mode that we cannot run in, or
// is poor quality for fullscreen
- if (screen_mode == NULL || screen_mode->poor_quality)
+ if (screen_mode == NULL)
{
// printf("\tUnsupported / poor quality\n");
continue;