aboutsummaryrefslogtreecommitdiff
path: root/src/osx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-27 15:35:18 +0800
committercrupest <crupest@outlook.com>2021-10-27 15:35:18 +0800
commit25454e67a12acfb0f7f85680fe8242f562002f70 (patch)
treecca15217d47ad9bbd513eca9f8ac506886243339 /src/osx
parent395c5aa302518af0d9f66dfafc910b3eab88742d (diff)
downloadcru-25454e67a12acfb0f7f85680fe8242f562002f70.tar.gz
cru-25454e67a12acfb0f7f85680fe8242f562002f70.tar.bz2
cru-25454e67a12acfb0f7f85680fe8242f562002f70.zip
...
Diffstat (limited to 'src/osx')
-rw-r--r--src/osx/graphics/quartz/Painter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osx/graphics/quartz/Painter.cpp b/src/osx/graphics/quartz/Painter.cpp
index ec951e6c..5657e048 100644
--- a/src/osx/graphics/quartz/Painter.cpp
+++ b/src/osx/graphics/quartz/Painter.cpp
@@ -141,7 +141,7 @@ void QuartzCGContextPainter::FillGeometry(IGeometry* geometry, IBrush* brush) {
b->Select(cg_context_);
CGContextBeginPath(cg_context_);
CGContextAddPath(cg_context_, g->GetCGPath());
- CGContextFillPath(cg_context_);
+ CGContextEOFillPath(cg_context_);
}
void QuartzCGContextPainter::DrawText(const Point& offset,