summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-24 22:10:25 +0100
committerGitHub <noreply@github.com>2021-02-24 22:10:25 +0100
commite1e8cc38513c0131ad6a5764219b308f912dfee9 (patch)
tree25ab453bbfef04587ea79bca9ddaef5cae41bb08 /src/gfxinit.cpp
parent6a8c461e38360d14fc36d77a63150a07c6e64ff9 (diff)
downloadopenttd-e1e8cc38513c0131ad6a5764219b308f912dfee9.tar.xz
Fix #8734: [OpenGL] Apply palette remap to cursor sprites. (#8742)
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r--src/gfxinit.cpp1
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();