/reload_blitter.diff Secret
Created
March 8, 2021 16:14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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