aboutsummaryrefslogtreecommitdiff
path: root/src/osx/graphics/quartz/TextLayout.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-04 21:13:30 +0800
committercrupest <crupest@outlook.com>2021-10-04 21:13:30 +0800
commit4fc39124bc876a9c78a04cb86397a4f0f08878e9 (patch)
tree27b9919b8c17710aed3031b6f1e64055dab0683f /src/osx/graphics/quartz/TextLayout.cpp
parent8b5df96202b8eb663a9a747c1c9d249f64a933e8 (diff)
downloadcru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.gz
cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.bz2
cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.zip
...
Diffstat (limited to 'src/osx/graphics/quartz/TextLayout.cpp')
-rw-r--r--src/osx/graphics/quartz/TextLayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osx/graphics/quartz/TextLayout.cpp b/src/osx/graphics/quartz/TextLayout.cpp
index d6a19264..577eba58 100644
--- a/src/osx/graphics/quartz/TextLayout.cpp
+++ b/src/osx/graphics/quartz/TextLayout.cpp
@@ -20,6 +20,8 @@ OsxCTTextLayout::OsxCTTextLayout(IGraphicsFactory* graphics_factory,
RecreateFrame();
}
+OsxCTTextLayout::~OsxCTTextLayout() {}
+
void OsxCTTextLayout::SetFont(std::shared_ptr<IFont> font) {
font_ = CheckPlatform<OsxCTFont>(font, GetPlatformId());
CFRelease(ct_framesetter_);