summaryrefslogtreecommitdiff
path: root/video/sdl_v.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-11-16 13:45:04 +0000
committertron <tron@openttd.org>2005-11-16 13:45:04 +0000
commitf750a773a4bd2db1184db5f381a72a7f5fdcf327 (patch)
treee3b95de9ca381bd509fbe4b29151619555b0952d /video/sdl_v.c
parentec57ef78a21fc57f752e1ee2c353b42da663f007 (diff)
downloadopenttd-f750a773a4bd2db1184db5f381a72a7f5fdcf327.tar.xz
(svn r3206) Wrap all instances of _dbg_screen_rect in #ifdef _DEBUG
Diffstat (limited to 'video/sdl_v.c')
-rw-r--r--video/sdl_v.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/sdl_v.c b/video/sdl_v.c
index f9b96f7eb..93ff90bbc 100644
--- a/video/sdl_v.c
+++ b/video/sdl_v.c
@@ -440,7 +440,9 @@ static void SdlVideoMainLoop(void)
_ctrl_pressed = !!(mod & (KMOD_LCTRL | KMOD_RCTRL));
_shift_pressed = !!(mod & (KMOD_LSHIFT | KMOD_RSHIFT));
+#ifdef _DEBUG
_dbg_screen_rect = !!(mod & KMOD_CAPS);
+#endif
// determine which directional keys are down
_dirkeys =