diff options
author | culler <culler> | 2020-08-24 17:32:51 (GMT) |
---|---|---|
committer | culler <culler> | 2020-08-24 17:32:51 (GMT) |
commit | 90a1d6f630a20c869919571d6b55ac1fafd30837 (patch) | |
tree | e8d380d159b144f762bf390ad4cfc375b7a93c65 /macosx/tkMacOSXImage.c | |
parent | 7d1cb8b9c00269f348901eb1b97946c0f2b3b835 (diff) | |
parent | e98f41ec7f422fce9089b087b6ca9bfd73697988 (diff) | |
download | tk-90a1d6f630a20c869919571d6b55ac1fafd30837.zip tk-90a1d6f630a20c869919571d6b55ac1fafd30837.tar.gz tk-90a1d6f630a20c869919571d6b55ac1fafd30837.tar.bz2 |
Merge 8.6
Diffstat (limited to 'macosx/tkMacOSXImage.c')
-rw-r--r-- | macosx/tkMacOSXImage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXImage.c b/macosx/tkMacOSXImage.c index 8994727..2b1793f 100644 --- a/macosx/tkMacOSXImage.c +++ b/macosx/tkMacOSXImage.c @@ -560,7 +560,7 @@ XPutImage( MacDrawable *macDraw = (MacDrawable *) drawable; display->request++; - if (!TkMacOSXSetupDrawingContext(drawable, gc, 1, &dc)) { + if (!TkMacOSXSetupDrawingContext(drawable, gc, &dc)) { return BadDrawable; } if (dc.context) { @@ -1135,7 +1135,7 @@ TkNSImageDisplay( NSImage *image = TkMacOSXInDarkMode(tkwin) ? masterPtr->darkModeImage : masterPtr->image; - if (TkMacOSXSetupDrawingContext(drawable, NULL, 1, &dc)) { + if (TkMacOSXSetupDrawingContext(drawable, NULL, &dc)) { if (dc.context) { NSGraphicsContext *savedContext = NSGraphicsContext.currentContext; NSGraphicsContext.currentContext = [NSGraphicsContext |