Skip to content

Instantly share code, notes, and snippets.

@michicc
Created March 8, 2021 16:14
Show Gist options
  • Save michicc/0fc9cb542a84906c5b8b25454ff9ef84 to your computer and use it in GitHub Desktop.
Save michicc/0fc9cb542a84906c5b8b25454ff9ef84 to your computer and use it in GitHub Desktop.
diff --git a/src/video/video_driver.cpp b/src/video/video_driver.cpp
index 085ea4705..a4b8ad10d 100644
--- a/src/video/video_driver.cpp
+++ b/src/video/video_driver.cpp
@@ -95,10 +95,8 @@ void VideoDriver::RealChangeBlitter(const char *repl_blitter)
* waiting for the blitter to be really loaded. */
VideoDriver::GetInstance()->ClearSystemSprites();
ClearFontCache();
+ GfxClearSpriteCache();
ReInitAllWindows();
- GfxInitSpriteMem();
- LoadSpriteTables();
- GfxInitPalettes();
UpdateCursorSize();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment