summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-22 19:19:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-22 19:19:27 (GMT)
commitaa04c8587cfa2e9a524fae862fae9fdc584ae4c4 (patch)
tree278f9e74dfc94fabf3474b5f8613c67156924746 /macosx/tkMacOSXDraw.c
parent2697ce46a4ddd06efb4c543aeeee43b6f3dcf94b (diff)
downloadtk-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.c1
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,