(svn r7273) -Fix (r7250): Initialise game palette before driver initialisation. This fixes a 'black screen' problem with fullscreen with the win32 video driver.

This commit is contained in:
peter1138 2006-11-28 14:32:24 +00:00
parent 38afc37960
commit 9253387001
1 changed files with 3 additions and 0 deletions

View File

@ -436,6 +436,9 @@ int ttd_main(int argc, char *argv[])
// This must be done early, since functions use the InvalidateWindow* calls
InitWindowSystem();
/* Initialize game palette */
GfxInitPalettes();
DEBUG(driver, 1) ("Loading drivers...");
LoadDriver(SOUND_DRIVER, _ini_sounddriver);
LoadDriver(MUSIC_DRIVER, _ini_musicdriver);