aboutsummaryrefslogtreecommitdiff
path: root/src/osx/graphics/quartz/Painter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/graphics/quartz/Painter.cpp')
-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,