mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 18:40:29 +00:00
(svn r21036) -Fix: [OSX] Properly set the palette when using the 8bpp blitter during start-up
This commit is contained in:
parent
1f5554c5c7
commit
47523d86fb
@ -626,6 +626,12 @@ void QZ_GameLoop()
|
||||
_cocoa_subdriver->Draw();
|
||||
CSleep(1);
|
||||
|
||||
/* Set the proper OpenTTD palette which got spoilt by the splash
|
||||
* image when using 8bpp blitter */
|
||||
GfxInitPalettes();
|
||||
QZ_CheckPaletteAnim();
|
||||
_cocoa_subdriver->Draw(true);
|
||||
|
||||
for (;;) {
|
||||
uint32 prev_cur_ticks = cur_ticks; // to check for wrapping
|
||||
InteractiveRandom(); // randomness
|
||||
|
Loading…
Reference in New Issue
Block a user