summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhInstance.c
diff options
context:
space:
mode:
authorculler <culler>2018-11-10 00:45:34 (GMT)
committerculler <culler>2018-11-10 00:45:34 (GMT)
commitbfc96895328c38d81ad657b7a5d620ad42e67796 (patch)
treef736d242a20785653552b95012f4ae51f9a5a4a3 /generic/tkImgPhInstance.c
parentedeaa03fec080516ed29f71138581e4310c5ec86 (diff)
downloadtk-bfc96895328c38d81ad657b7a5d620ad42e67796.zip
tk-bfc96895328c38d81ad657b7a5d620ad42e67796.tar.gz
tk-bfc96895328c38d81ad657b7a5d620ad42e67796.tar.bz2
TkPutImage should not assume that a pixmap is transparent, even though it does have alpha=0.
Diffstat (limited to 'generic/tkImgPhInstance.c')
-rw-r--r--generic/tkImgPhInstance.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/generic/tkImgPhInstance.c b/generic/tkImgPhInstance.c
index 0a5be7a..76c4a8a 100644
--- a/generic/tkImgPhInstance.c
+++ b/generic/tkImgPhInstance.c
@@ -631,7 +631,6 @@ TkImgPhotoDisplay(
(unsigned int)instancePtr->width,
(unsigned int)instancePtr->height,
0, (unsigned int)(4 * instancePtr->width));
-
TkPutImage(NULL, 0, display, drawable, instancePtr->gc,
photo, imageX, imageY, drawableX, drawableY,
(unsigned int) width, (unsigned int) height);