summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-07 16:11:06 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-07 17:56:03 +0300
commit3ecab6fd717a910bcff488bbd1a30ab4cc86d8fd (patch)
tree0235db85a1ead6b51ef0a250d480f560f15268b0 /vcl
parentcd0417890db3a40311351a4a820dfc81335bf519 (diff)
I think we should begin a new path in drawPolyLine()
Change-Id: I113ab237561ae83a2d256be7ff14bea6432f0d06
Diffstat (limited to 'vcl')
-rw-r--r--vcl/quartz/salgdicommon.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index ee1232ad1dcd..72a44b91abac 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -899,6 +899,8 @@ bool AquaSalGraphics::drawPolyLine(
// use the path to prepare the graphics context
CG_TRACE( "CGContextSaveGState(" << mrContext << ") " << ++mnContextStackDepth );
CGContextSaveGState( mrContext );
+ CG_TRACE( "CGContextBeginPath(" << mrContext << ")" );
+ CGContextBeginPath( mrContext );
CG_TRACE( "CGContextAddPath(" << mrContext << "," << xPath << ")" );
CGContextAddPath( mrContext, xPath );
// draw path with antialiased line