summaryrefslogtreecommitdiff
path: root/src/video/cocoa_v.mm
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-21 16:53:57 +0000
committertruelight <truelight@openttd.org>2007-06-21 16:53:57 +0000
commitaf8a234db03d075167a3bd50251905b40c6998c2 (patch)
treede64446fa3e39d4d97a3b476b363581bb8acf63d /src/video/cocoa_v.mm
parent56eb1738ee6de39367047a3cd0f20011560eb393 (diff)
downloadopenttd-af8a234db03d075167a3bd50251905b40c6998c2.tar.xz
(svn r10255) -Codechange: remove some old debug code nobody was using anymore
Diffstat (limited to 'src/video/cocoa_v.mm')
-rw-r--r--src/video/cocoa_v.mm7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/video/cocoa_v.mm b/src/video/cocoa_v.mm
index 3083414b0..f4dfc5b77 100644
--- a/src/video/cocoa_v.mm
+++ b/src/video/cocoa_v.mm
@@ -77,10 +77,6 @@ extern "C" void HideMenuBar();
#undef Point
#undef Rect
-/* Taken from ../gfx.h */
-extern bool _dbg_screen_rect;
-
-
/* Subclass of NSWindow to fix genie effect and support resize events */
@interface OTTD_QuartzWindow : NSWindow
- (void)miniaturize:(id)sender;
@@ -740,9 +736,6 @@ static void QZ_GameLoop()
_ctrl_pressed = !!(_cocoa_video_data.current_mods & NSControlKeyMask);
_shift_pressed = !!(_cocoa_video_data.current_mods & NSShiftKeyMask);
-#ifdef _DEBUG
- _dbg_screen_rect = !!(_cocoa_video_data.current_mods & NSAlphaShiftKeyMask);
-#endif
GameLoop();