diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-01-16 16:43:31 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-22 22:16:07 +0100 |
commit | 6776229047c0f5aac540fc9c367e4abbf5302322 (patch) | |
tree | 7fbb643e28155e37d784770894f419383a6bc8e9 /src/os/windows | |
parent | 70aa3b401145ec6bb98073a2758206cf63e15da1 (diff) | |
download | openttd-6776229047c0f5aac540fc9c367e4abbf5302322.tar.xz |
Codechange: Make the simple Malloc sprite allocator globally usable.
Diffstat (limited to 'src/os/windows')
-rw-r--r-- | src/os/windows/font_win32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/windows/font_win32.cpp b/src/os/windows/font_win32.cpp index a3b60933c..1b4a41ccf 100644 --- a/src/os/windows/font_win32.cpp +++ b/src/os/windows/font_win32.cpp @@ -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); |