From c0616e3892e4f713bea7abd217191b8713a1d1bf Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 21 Aug 2021 23:15:43 +0800 Subject: ... --- include/cru/osx/graphics/quartz/Painter.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/osx/graphics/quartz/Painter.hpp') diff --git a/include/cru/osx/graphics/quartz/Painter.hpp b/include/cru/osx/graphics/quartz/Painter.hpp index 2d77ab3a..7f775210 100644 --- a/include/cru/osx/graphics/quartz/Painter.hpp +++ b/include/cru/osx/graphics/quartz/Painter.hpp @@ -8,7 +8,7 @@ namespace cru::platform::graphics::osx::quartz { class QuartzCGContextPainter : public OsxQuartzResource, public virtual IPainter { public: - explicit QuartzCGContextPainter(CGContext* cg_context) + explicit QuartzCGContextPainter(CGContextRef cg_context) : cg_context_(cg_context) {} public: @@ -36,6 +36,6 @@ class QuartzCGContextPainter : public OsxQuartzResource, void EndDraw() override; private: - CGContext* cg_context_; + CGContextRef cg_context_; }; } // namespace cru::platform::graphics::osx::quartz -- cgit v1.2.3