mirror of https://github.com/OpenTTD/OpenTTD
(svn r21037) -Fix: [OSX] Mouse cursor would leave footprint with 8bpp blitter when switching to full screen
parent
47523d86fb
commit
03c012797b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue