summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorculler <culler>2020-08-24 21:44:49 (GMT)
committerculler <culler>2020-08-24 21:44:49 (GMT)
commit8207bbae557d4d7711c3b5a383dfb791f8156345 (patch)
tree7fc9416d11870363552b99fc06622ab028957ec6 /generic
parent0a55a8cb5333b7fdbb29273ca364102c7a7f743e (diff)
parent2bc6fae00d9ae77272e63ae6c01bf2a127088d3f (diff)
downloadtk-8207bbae557d4d7711c3b5a383dfb791f8156345.zip
tk-8207bbae557d4d7711c3b5a383dfb791f8156345.tar.gz
tk-8207bbae557d4d7711c3b5a383dfb791f8156345.tar.bz2
Move XGetImage and XCopyArea to tkMacOSXImage.c and completely remove XImage.pixelpower.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkImgPhInstance.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/tkImgPhInstance.c b/generic/tkImgPhInstance.c
index 81b196c..b774b40 100644
--- a/generic/tkImgPhInstance.c
+++ b/generic/tkImgPhInstance.c
@@ -19,9 +19,7 @@
*/
#include "tkImgPhoto.h"
-#ifdef MAC_OSX_TK
-#define TKPUTIMAGE_CAN_BLEND
-#endif
+#include "tkPort.h"
/*
* Declaration for internal Xlib function used here:
@@ -416,9 +414,6 @@ TkImgPhotoGet(
*
* Note that Win32 pre-defines those operations that we really need.
*
- * Note that on MacOS, if the background comes from a Retina display
- * then it will be twice as wide and twice as high as the photoimage.
- *
*----------------------------------------------------------------------
*/
#ifndef TKPUTIMAGE_CAN_BLEND