diff options
author | planetmaker <planetmaker@openttd.org> | 2010-12-15 01:30:13 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2010-12-15 01:30:13 +0000 |
commit | 832625bb0ed87ccc73ca408585a986e85a61dea6 (patch) | |
tree | 838d9bc3643413adc78011dee98c4f5b99ba9f6b /src/video | |
parent | 48b7916458de4b2cdbc226a4a6ab078db4c77e73 (diff) | |
download | openttd-832625bb0ed87ccc73ca408585a986e85a61dea6.tar.xz |
(svn r21522) -Fix: [OSX] Silence a warning when compiling without quartz and quickdraw
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/cocoa/cocoa_v.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index 61dfd7ce2..793e1b206 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -204,7 +204,9 @@ void QZ_GameSizeChanged() static CocoaSubdriver *QZ_CreateWindowSubdriver(int width, int height, int bpp) { +#if defined(ENABLE_COCOA_QUARTZ) || defined(ENABLE_COCOA_QUICKDRAW) CocoaSubdriver *ret; +#endif #ifdef ENABLE_COCOA_QUARTZ #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4 |