mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 17:32:45 +01:00
(svn r21036) -Fix: [OSX] Properly set the palette when using the 8bpp blitter during start-up
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user