Remove redundant font flag

This commit is contained in:
Clownacy 2020-09-06 19:41:48 +01:00
parent 34d3b8e664
commit f4ffee2c99

View file

@ -963,7 +963,7 @@ static CachedGlyph* GetGlyphCached(FontObject *font_object, unsigned long unicod
#ifdef ENABLE_FONT_ANTIALIASING #ifdef ENABLE_FONT_ANTIALIASING
if (FT_Load_Glyph(font_object->face, glyph_index, FT_LOAD_RENDER) == 0) if (FT_Load_Glyph(font_object->face, glyph_index, FT_LOAD_RENDER) == 0)
#else #else
if (FT_Load_Glyph(font_object->face, glyph_index, FT_LOAD_RENDER | FT_LOAD_MONOCHROME | FT_LOAD_TARGET_MONO) == 0) if (FT_Load_Glyph(font_object->face, glyph_index, FT_LOAD_RENDER | FT_LOAD_TARGET_MONO) == 0)
#endif #endif
{ {
glyph->unicode_value = unicode_value; glyph->unicode_value = unicode_value;