changeset 16329:f1b621b42a93 draft

(svn r21037) -Fix: [OSX] Mouse cursor would leave footprint with 8bpp blitter when switching to full screen
author planetmaker <planetmaker@openttd.org>
date Mon, 25 Oct 2010 06:55:54 +0000
parents 51f0e9899b3b
children 903de6fea3ac
files src/video/cocoa/fullscreen.mm
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/cocoa/fullscreen.mm
+++ b/src/video/cocoa/fullscreen.mm
@@ -296,6 +296,9 @@
 			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);