summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhInstance.c
diff options
context:
space:
mode:
authorculler <culler>2020-08-22 19:16:02 (GMT)
committerculler <culler>2020-08-22 19:16:02 (GMT)
commitee6cc4ea5ad64d240ca940371ec26787ee2bbdb5 (patch)
tree8b1aa05548390ebe0e4c1e27f5296b591f7f353b /generic/tkImgPhInstance.c
parentfaecc793509c834b9b7562b4d549d80585ead2d9 (diff)
downloadtk-ee6cc4ea5ad64d240ca940371ec26787ee2bbdb5.zip
tk-ee6cc4ea5ad64d240ca940371ec26787ee2bbdb5.tar.gz
tk-ee6cc4ea5ad64d240ca940371ec26787ee2bbdb5.tar.bz2
Remove all use of XImage.pixelpower, but not the field, simplify and reorganize.
Diffstat (limited to 'generic/tkImgPhInstance.c')
-rw-r--r--generic/tkImgPhInstance.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/tkImgPhInstance.c b/generic/tkImgPhInstance.c
index c500050..32b09be 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:
@@ -409,9 +407,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