diff options
author | planetmaker <planetmaker@openttd.org> | 2011-09-04 17:49:08 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2011-09-04 17:49:08 +0000 |
commit | bce482c76fca80f38aba591eb687754207ba7aa4 (patch) | |
tree | 1e4a56ff32a9dc08d1ec78cdd619c0b4f4c5bb56 /src/video/cocoa/cocoa_v.h | |
parent | 5001b27cced8fb84283392cbbc44b67c30513d9e (diff) | |
download | openttd-bce482c76fca80f38aba591eb687754207ba7aa4.tar.xz |
(svn r22893) -Fix [FS#4744]: [OSX] Compilation on OSX 10.7 was broken (based on patch by leecbaker)
-Add: [OSX] Support for fullscreen mode when compiled against SDK 10.7. Otherwise fullscreen mode is disabled when OpenTTD is run on OSX Lion
Diffstat (limited to 'src/video/cocoa/cocoa_v.h')
-rw-r--r-- | src/video/cocoa/cocoa_v.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h index 087b2072c..498f40cbb 100644 --- a/src/video/cocoa/cocoa_v.h +++ b/src/video/cocoa/cocoa_v.h @@ -88,6 +88,7 @@ public: virtual bool ChangeResolution(int w, int h) = 0; virtual bool IsFullscreen() = 0; + virtual bool ToggleFullscreen() { return false; }; virtual int GetWidth() = 0; virtual int GetHeight() = 0; virtual void *GetPixelBuffer() = 0; |