mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
SDL: let's not remove the candidate fallback fonts
This commit is contained in:
1 parent
a5a2af4892
commit
0a5937051a
1 file changed
-1
@@ -173,7 +173,6 @@ bool TextDrawerSDL::FindFallbackFonts(uint32_t missingGlyph, int ptSize) {
|
||||
|
||||
if (TTF_GlyphIsProvided32(font, missingGlyph)) {
|
||||
fallbackFonts_.insert(fallbackFonts_.begin(), font);
|
||||
fallbackFontPaths_.erase(fallbackFontPaths_.begin() + i);
|
||||
return true;
|
||||
} else {
|
||||
TTF_CloseFont(font);
|
||||
|
||||
Reference in new issue
Block a user