diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-22 19:19:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-22 19:19:27 (GMT) |
commit | aa04c8587cfa2e9a524fae862fae9fdc584ae4c4 (patch) | |
tree | 278f9e74dfc94fabf3474b5f8613c67156924746 /macosx/tkMacOSXDraw.c | |
parent | 2697ce46a4ddd06efb4c543aeeee43b6f3dcf94b (diff) | |
download | tk-aa04c8587cfa2e9a524fae862fae9fdc584ae4c4.zip tk-aa04c8587cfa2e9a524fae862fae9fdc584ae4c4.tar.gz tk-aa04c8587cfa2e9a524fae862fae9fdc584ae4c4.tar.bz2 |
Fix [98662d321e]: Aqua: fix build with -DTK_MAC_DEBUG_DRAWING. Thanks to chrstphrchvz for bug-report and path!
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index 1bf2572..e56e666 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -1853,6 +1853,7 @@ TkMacOSXGetClipRgn( TkMacOSXDbgMsg("%s", macDraw->winPtr->pathName); NSView *view = TkMacOSXDrawableView(macDraw); + CGContextRef context = GET_CGCONTEXT; CGContextSaveGState(context); CGContextConcatCTM(context, CGAffineTransformMake(1.0, 0.0, 0.0, |