(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();
 | 
						_cocoa_subdriver->Draw();
 | 
				
			||||||
	CSleep(1);
 | 
						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 (;;) {
 | 
						for (;;) {
 | 
				
			||||||
		uint32 prev_cur_ticks = cur_ticks; // to check for wrapping
 | 
							uint32 prev_cur_ticks = cur_ticks; // to check for wrapping
 | 
				
			||||||
		InteractiveRandom(); // randomness
 | 
							InteractiveRandom(); // randomness
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user