aboutsummaryrefslogtreecommitdiff
path: root/src/platform/graphics/quartz/Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/graphics/quartz/Factory.cpp')
-rw-r--r--src/platform/graphics/quartz/Factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/graphics/quartz/Factory.cpp b/src/platform/graphics/quartz/Factory.cpp
index 5d5b48b5..862c0966 100644
--- a/src/platform/graphics/quartz/Factory.cpp
+++ b/src/platform/graphics/quartz/Factory.cpp
@@ -33,7 +33,7 @@ std::unique_ptr<IFont> QuartzGraphicsFactory::CreateFont(String font_family,
std::unique_ptr<ITextLayout> QuartzGraphicsFactory::CreateTextLayout(
std::shared_ptr<IFont> font, String text) {
- auto f = CheckPlatform<OsxCTFont>(font, GetPlatformIdUtf8());
+ auto f = CheckPlatform<OsxCTFont>(font, GetPlatformId());
return std::make_unique<OsxCTTextLayout>(this, f, text);
}