(svn r21037) -Fix: [OSX] Mouse cursor would leave footprint with 8bpp blitter when switching to full screen
This commit is contained in:
@@ -296,6 +296,9 @@ class FullscreenSubdriver: public CocoaSubdriver {
|
|||||||
CFNumberGetValue(number, kCFNumberSInt32Type, &h);
|
CFNumberGetValue(number, kCFNumberSInt32Type, &h);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide mouse in order to avoid glitch in 8bpp */
|
||||||
|
QZ_HideMouse();
|
||||||
|
|
||||||
/* Fade display to zero gamma */
|
/* Fade display to zero gamma */
|
||||||
OTTD_QuartzGammaTable gamma_table;
|
OTTD_QuartzGammaTable gamma_table;
|
||||||
gamma_error = this->FadeGammaOut(&gamma_table);
|
gamma_error = this->FadeGammaOut(&gamma_table);
|
||||||
|
Reference in New Issue
Block a user