summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXXStubs.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 /macosx/tkMacOSXXStubs.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 'macosx/tkMacOSXXStubs.c')
-rw-r--r--macosx/tkMacOSXXStubs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/macosx/tkMacOSXXStubs.c b/macosx/tkMacOSXXStubs.c
index ee33537..cc98e84 100644
--- a/macosx/tkMacOSXXStubs.c
+++ b/macosx/tkMacOSXXStubs.c
@@ -203,7 +203,6 @@ TkpOpenDisplay(
screen->root_visual = ckalloc(sizeof(Visual));
screen->root_visual->visualid = 0;
screen->root_visual->class = TrueColor;
- screen->root_visual->alpha_mask = 0xFF000000;
screen->root_visual->red_mask = 0x00FF0000;
screen->root_visual->green_mask = 0x0000FF00;
screen->root_visual->blue_mask = 0x000000FF;