Skip to content

Commit

Permalink
Merge pull request #17956 from hch12907/master
Browse files Browse the repository at this point in the history
SDL: let's not remove the candidate fallback fonts
  • Loading branch information
hrydgard committed Aug 23, 2023
2 parents fb73857 + 0a59370 commit cdd4cd8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Common/Render/Text/draw_text_sdl.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit cdd4cd8

Please sign in to comment.