* Remove all encoded font sprites from the sprite cache without * discarding sprite location information. */
| 923 | * discarding sprite location information. |
| 924 | */ |
| 925 | void GfxClearFontSpriteCache() |
| 926 | { |
| 927 | /* Clear sprite ptr for all cached font items */ |
| 928 | for (SpriteCache &sc : _spritecache) { |
| 929 | if (sc.type == SpriteType::Font && sc.ptr != nullptr) sc.ClearSpriteData(); |
| 930 | } |
| 931 | } |
| 932 | |
| 933 | /* static */ SpriteCollMap<ReusableBuffer<SpriteLoader::CommonPixel>> SpriteLoader::Sprite::buffer; |
no test coverage detected