Change video color depth from game options

This commit is contained in:
pelya
2016-04-17 00:30:13 +03:00
parent 8ec3f4462a
commit 1f4570c14b
6 changed files with 66 additions and 6 deletions

View File

@@ -770,7 +770,7 @@ int openttd_main(int argc, char *argv[])
GfxInitPalettes();
DEBUG(misc, 1, "Loading blitter...");
if (blitter == NULL && _ini_blitter != NULL) blitter = stredup(_ini_blitter);
if (_ini_blitter != NULL) blitter = stredup(_ini_blitter);
_blitter_autodetected = StrEmpty(blitter);
/* Activate the initial blitter.
* This is only some initial guess, after NewGRFs have been loaded SwitchNewGRFBlitter may switch to a different one.