diff options
author | neonloop | 2021-05-07 19:56:22 +0000 |
---|---|---|
committer | neonloop | 2021-05-07 19:56:22 +0000 |
commit | 752c5e7f995bdceba1853d05b4bc1348eefa8a3b (patch) | |
tree | fbb246a6720846c731a34df9df33364f8e6e89ea /src/i_video.c | |
parent | 2ddd290b8226e1d1f0c52e344e76150261a8c0c3 (diff) | |
download | chocolate-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.c | 5 |
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; |