summaryrefslogtreecommitdiff
path: root/src/os/macosx/font_osx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/macosx/font_osx.cpp')
-rw-r--r--src/os/macosx/font_osx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/macosx/font_osx.cpp b/src/os/macosx/font_osx.cpp
index 0a1b9e99a..04e5db9ab 100644
--- a/src/os/macosx/font_osx.cpp
+++ b/src/os/macosx/font_osx.cpp
@@ -286,6 +286,7 @@ const Sprite *CoreTextFontCache::InternalGetGlyph(GlyphID key, bool use_aa)
SpriteLoader::Sprite sprite;
sprite.AllocateData(ZOOM_LVL_NORMAL, width * height);
sprite.type = ST_FONT;
+ sprite.colours = (use_aa ? SCC_PAL | SCC_ALPHA : SCC_PAL);
sprite.width = width;
sprite.height = height;
sprite.x_offs = (int16)std::round(CGRectGetMinX(bounds));