From 3c8d5c8f732239a8b50418be27464e30b9dddeae Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 17 Oct 2025 08:37:30 +0800 Subject: Exception remove string. --- src/platform/graphics/quartz/Factory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platform/graphics/quartz/Factory.cpp') diff --git a/src/platform/graphics/quartz/Factory.cpp b/src/platform/graphics/quartz/Factory.cpp index 862c0966..5d5b48b5 100644 --- a/src/platform/graphics/quartz/Factory.cpp +++ b/src/platform/graphics/quartz/Factory.cpp @@ -33,7 +33,7 @@ std::unique_ptr QuartzGraphicsFactory::CreateFont(String font_family, std::unique_ptr QuartzGraphicsFactory::CreateTextLayout( std::shared_ptr font, String text) { - auto f = CheckPlatform(font, GetPlatformId()); + auto f = CheckPlatform(font, GetPlatformIdUtf8()); return std::make_unique(this, f, text); } -- cgit v1.2.3