Source/Gorgon/Graphics/FreeType.cpp

branch
ComponentStackRework
changeset 1444
53e69f1cea46
parent 1376
e15204b22280
child 1451
8d05e766f523
--- a/Source/Gorgon/Graphics/FreeType.cpp	Thu Sep 17 13:47:51 2020 +0300
+++ b/Source/Gorgon/Graphics/FreeType.cpp	Thu Sep 17 16:25:17 2020 +0300
@@ -17,7 +17,7 @@
         if(delta || matrix)
             FT_Set_Transform(face, matrix, delta);
 
-        auto error = FT_Load_Glyph(face, index, FT_LOAD_RENDER|(aa ? 0 : FT_LOAD_MONOCHROME));
+        auto error = FT_Load_Glyph(face, index, FT_LOAD_RENDER|(aa ? FT_LOAD_TARGET_LIGHT : FT_LOAD_MONOCHROME));
 
         if(error != FT_Err_Ok)
             return nullptr;

mercurial