summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-22 19:20:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-22 19:20:43 (GMT)
commitc870976a66187d10fa384363a92f7b3c6927d4b1 (patch)
tree6b3b9529fac10483330a1bebf6aa01a17faa13d5 /macosx/tkMacOSXDraw.c
parent522f8027b2de092fb9684f8135dedc0aba75217c (diff)
parentaa04c8587cfa2e9a524fae862fae9fdc584ae4c4 (diff)
downloadtk-c870976a66187d10fa384363a92f7b3c6927d4b1.zip
tk-c870976a66187d10fa384363a92f7b3c6927d4b1.tar.gz
tk-c870976a66187d10fa384363a92f7b3c6927d4b1.tar.bz2
Merge 8.6
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 520246c..66027cd 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1839,6 +1839,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,