diff options
author | egladil <egladil@openttd.org> | 2007-12-23 18:08:39 +0000 |
---|---|---|
committer | egladil <egladil@openttd.org> | 2007-12-23 18:08:39 +0000 |
commit | 22f79df32830d173827038222e509721c1e5ac18 (patch) | |
tree | 4ad50764b4e1705f3a98b322d120b0021a47d237 /src/video/cocoa/fullscreen.mm | |
parent | da5d3a7b3b6aa5e4e78e3f3467f9a0aaa881cb6b (diff) | |
download | openttd-22f79df32830d173827038222e509721c1e5ac18.tar.xz |
(svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again.
Diffstat (limited to 'src/video/cocoa/fullscreen.mm')
-rw-r--r-- | src/video/cocoa/fullscreen.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm index f7612f6c9..4eb404a16 100644 --- a/src/video/cocoa/fullscreen.mm +++ b/src/video/cocoa/fullscreen.mm @@ -42,9 +42,10 @@ extern "C" void HideMenuBar(); #include "../../stdafx.h" #include "../../debug.h" #include "../../variables.h" +#include "../../core/geometry_type.hpp" #include "cocoa_v.h" +#include "../../gfx_func.h" -#undef Point #undef Rect @@ -447,7 +448,7 @@ public: CGDisplaySetPalette(display_id, palette); } - virtual uint ListModes(OTTDPoint* modes, uint max_modes) + virtual uint ListModes(OTTD_Point* modes, uint max_modes) { CFArrayRef mode_list; CFIndex num_modes; |