Check whether we still use the right blitter, or use another (better) one. */
| 323 | |
| 324 | /** Check whether we still use the right blitter, or use another (better) one. */ |
| 325 | void CheckBlitter() |
| 326 | { |
| 327 | if (!SwitchNewGRFBlitter()) return; |
| 328 | |
| 329 | FontCache::ClearFontCaches(FONTSIZES_ALL); |
| 330 | GfxClearSpriteCache(); |
| 331 | ReInitAllWindows(false); |
| 332 | } |
| 333 | |
| 334 | /** Initialise and load all the sprites. */ |
| 335 | void GfxLoadSprites() |
no test coverage detected