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 | 051454304d859ac21aae4766f0fa2936c23c26e0 (patch) | |
tree | f3a60733534b163b7b89259753a0f91d2d56ad48 | |
parent | d8083d88ba040f22ed6e0407c5911ca3f210ba79 (diff) | |
download | openttd-051454304d859ac21aae4766f0fa2936c23c26e0.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); |