From 03c012797b7b111ec1502cf83c0ca4279993055f Mon Sep 17 00:00:00 2001 From: planetmaker Date: Mon, 25 Oct 2010 06:55:54 +0000 Subject: (svn r21037) -Fix: [OSX] Mouse cursor would leave footprint with 8bpp blitter when switching to full screen --- src/video/cocoa/fullscreen.mm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2