diff options
author | peter1138 <peter1138@openttd.org> | 2006-11-28 14:32:24 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-11-28 14:32:24 +0000 |
commit | 9253387001aafa9bd996a2e2906732373b20a43a (patch) | |
tree | f3a60733534b163b7b89259753a0f91d2d56ad48 | |
parent | 38afc3796052554da0922a377a4010919062e0a9 (diff) | |
download | openttd-9253387001aafa9bd996a2e2906732373b20a43a.tar.xz |
(svn r7273) -Fix (r7250): Initialise game palette before driver initialisation. This fixes a 'black screen' problem with fullscreen with the win32 video driver.
-rw-r--r-- | openttd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |