summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-01-20 11:26:16 +0000
committerbjarni <bjarni@openttd.org>2007-01-20 11:26:16 +0000
commit00b730ebca31f57d70d9b95c8a48c0f3939863aa (patch)
tree6ea4a031f726b5f622b418f22cb61d4db7e7d7fd /src/video
parente13b00e14f245b9e949c48f1df723c0bcc96eaa6 (diff)
downloadopenttd-00b730ebca31f57d70d9b95c8a48c0f3939863aa.tar.xz
(svn r8288) -Fix: [OSX] compiling with debug enabled now works again
-This is once again an obj-C vs C++ issue. I need to make a nice and permanent solution soon, but I need the debugger right now
Diffstat (limited to 'src/video')
-rw-r--r--src/video/cocoa_v.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/cocoa_v.m b/src/video/cocoa_v.m
index 33f0b78e4..f476c905c 100644
--- a/src/video/cocoa_v.m
+++ b/src/video/cocoa_v.m
@@ -57,6 +57,8 @@ extern void HideMenuBar(void);
#undef Point
#undef Rect
+/* Taken from ../gfx.h */
+extern bool _dbg_screen_rect;
/* Subclass of NSWindow to fix genie effect and support resize events */