diff options
author | frosch <frosch@openttd.org> | 2012-02-25 17:20:02 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-02-25 17:20:02 +0000 |
commit | df54f25efe5817e35c4eba9b95c5b8718d3a7551 (patch) | |
tree | c439ac8732a6615eb29327a7fb2baa0c7ccd35cb /src/gfxinit.cpp | |
parent | 3d381403a88387d1599c3a63dd0bdf9bb97a2911 (diff) | |
download | openttd-df54f25efe5817e35c4eba9b95c5b8718d3a7551.tar.xz |
(svn r23987) -Fix (r23000): Also reset the font glyph cache when switching blitters.
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r-- | src/gfxinit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp index b2feb63a8..50efd9ad8 100644 --- a/src/gfxinit.cpp +++ b/src/gfxinit.cpp @@ -256,6 +256,7 @@ void GfxLoadSprites() DEBUG(sprite, 2, "Loading sprite set %d", _settings_game.game_creation.landscape); SwitchNewGRFBlitter(); + ClearFontCache(); GfxInitSpriteMem(); LoadSpriteTables(); GfxInitPalettes(); |