Merge branch 'master' into jgrpp
# Conflicts: # src/fontcache.cpp # src/openttd.cpp # src/os/macosx/font_osx.cpp # src/os/unix/font_unix.cpp # src/os/windows/font_win32.cpp # src/strings.cpp
This commit is contained in:
@@ -460,7 +460,7 @@ static void ShutdownGame()
|
||||
/* No NewGRFs were loaded when it was still bootstrapping. */
|
||||
if (_game_mode != GM_BOOTSTRAP) ResetNewGRFData();
|
||||
|
||||
UninitFreeType();
|
||||
UninitFontCache();
|
||||
|
||||
ViewportMapClearTunnelCache();
|
||||
InvalidateVehicleTickCaches();
|
||||
@@ -884,8 +884,8 @@ int openttd_main(int argc, char *argv[])
|
||||
/* enumerate language files */
|
||||
InitializeLanguagePacks();
|
||||
|
||||
/* Initialize the regular font for FreeType */
|
||||
InitFreeType(false);
|
||||
/* Initialize the font cache */
|
||||
InitFontCache(false);
|
||||
|
||||
/* This must be done early, since functions use the SetWindowDirty* calls */
|
||||
InitWindowSystem();
|
||||
|
Reference in New Issue
Block a user