summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2010-10-25 06:55:54 +0000
committerplanetmaker <planetmaker@openttd.org>2010-10-25 06:55:54 +0000
commit03c012797b7b111ec1502cf83c0ca4279993055f (patch)
tree34b977b2f0fc6d701e7e8aca00ed46bdd74a2981
parent47523d86fb19d9461677d991bedd0d2ed55fe092 (diff)
downloadopenttd-03c012797b7b111ec1502cf83c0ca4279993055f.tar.xz
(svn r21037) -Fix: [OSX] Mouse cursor would leave footprint with 8bpp blitter when switching to full screen
-rw-r--r--src/video/cocoa/fullscreen.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm
index e3626e2ba..ffdf20e8f 100644
--- a/src/video/cocoa/fullscreen.mm
+++ b/src/video/cocoa/fullscreen.mm
@@ -296,6 +296,9 @@ class FullscreenSubdriver: public CocoaSubdriver {
CFNumberGetValue(number, kCFNumberSInt32Type, &h);
}
+ /* Hide mouse in order to avoid glitch in 8bpp */
+ QZ_HideMouse();
+
/* Fade display to zero gamma */
OTTD_QuartzGammaTable gamma_table;
gamma_error = this->FadeGammaOut(&gamma_table);