summaryrefslogtreecommitdiff
path: root/video/win32_v.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/win32_v.c')
-rw-r--r--video/win32_v.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/win32_v.c b/video/win32_v.c
index 90997804a..072077c6a 100644
--- a/video/win32_v.c
+++ b/video/win32_v.c
@@ -734,7 +734,9 @@ static void Win32GdiMainLoop(void)
next_tick += 30;
_ctrl_pressed = _wnd.has_focus && GetAsyncKeyState(VK_CONTROL)<0;
_shift_pressed = _wnd.has_focus && GetAsyncKeyState(VK_SHIFT)<0;
+#ifdef _DEBUG
_dbg_screen_rect = _wnd.has_focus && GetAsyncKeyState(VK_CAPITAL)<0;
+#endif _DEBUG
// determine which directional keys are down
if (_wnd.has_focus) {