diff options
author | michi_cc <michi_cc@openttd.org> | 2011-10-04 21:35:40 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-10-04 21:35:40 +0000 |
commit | 6dbb050a32122209497d9b41c373b3b759602883 (patch) | |
tree | d4a463d465885f4eb4f376ac548f71d68b09995b /src/video/cocoa/cocoa_v.h | |
parent | 12e28de8187808b166541ee8fa339e38037538fd (diff) | |
download | openttd-6dbb050a32122209497d9b41c373b3b759602883.tar.xz |
(svn r22999) -Codechange: Allow changing the blitter during the running game.
Diffstat (limited to 'src/video/cocoa/cocoa_v.h')
-rw-r--r-- | src/video/cocoa/cocoa_v.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h index cf8867b0d..157b285c8 100644 --- a/src/video/cocoa/cocoa_v.h +++ b/src/video/cocoa/cocoa_v.h @@ -47,6 +47,11 @@ public: */ /* virtual */ bool ToggleFullscreen(bool fullscreen); + /** Callback invoked after the blitter was changed. + * @return True if no error. + */ + /* virtual */ bool AfterBlitterChange(); + /** Return driver name * @return driver name */ @@ -123,7 +128,7 @@ public: * @param h New window height * @return Whether change was successful */ - virtual bool ChangeResolution(int w, int h) = 0; + virtual bool ChangeResolution(int w, int h, int bpp) = 0; /** Are we in fullscreen mode * @return whether fullscreen mode is currently used |