diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-02-24 22:10:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 22:10:25 +0100 |
commit | e1e8cc38513c0131ad6a5764219b308f912dfee9 (patch) | |
tree | 25ab453bbfef04587ea79bca9ddaef5cae41bb08 /src/gfxinit.cpp | |
parent | 6a8c461e38360d14fc36d77a63150a07c6e64ff9 (diff) | |
download | openttd-e1e8cc38513c0131ad6a5764219b308f912dfee9.tar.xz |
Fix #8734: [OpenGL] Apply palette remap to cursor sprites. (#8742)
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 7884f89b5..f569f6edf 100644 --- a/src/gfxinit.cpp +++ b/src/gfxinit.cpp @@ -344,6 +344,7 @@ void GfxLoadSprites() DEBUG(sprite, 2, "Loading sprite set %d", _settings_game.game_creation.landscape); SwitchNewGRFBlitter(); + VideoDriver::GetInstance()->ClearSystemSprites(); ClearFontCache(); GfxInitSpriteMem(); LoadSpriteTables(); |