Codechange: Make the simple Malloc sprite allocator globally usable.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:31 +01:00
parent 70aa3b4011
commit 6776229047
6 changed files with 13 additions and 11 deletions

View File

@@ -532,7 +532,7 @@ void Win32FontCache::ClearFontCache()
}
GlyphEntry new_glyph;
new_glyph.sprite = BlitterFactory::GetCurrentBlitter()->Encode(&sprite, AllocateFont);
new_glyph.sprite = BlitterFactory::GetCurrentBlitter()->Encode(&sprite, SimpleSpriteAlloc);
new_glyph.width = gm.gmCellIncX;
this->SetGlyphPtr(key, &new_glyph);