diff options
author | dgp <dgp@users.sourceforge.net> | 2012-11-15 19:31:20 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-11-15 19:31:20 (GMT) |
commit | 0b6e717a44dff02a2ce046473bbe798a8e07d6c9 (patch) | |
tree | 926c9c2655af85d9275fb6665b9ec2fa628f2093 /generic/tkImgPhoto.c | |
parent | ab074760921c8bd030d145b68aadf3992117d920 (diff) | |
download | tk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.zip tk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.tar.gz tk-0b6e717a44dff02a2ce046473bbe798a8e07d6c9.tar.bz2 |
More complete purge of things only present for supporting long-dead Mac 9 systems.
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r-- | generic/tkImgPhoto.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index 23db11a..7c87c42 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -2770,15 +2770,7 @@ ImgPhotoDisplay(clientData, display, drawable, imageX, imageY, width, return; } - if ( -#if defined(MAC_TCL) - /* - * The retrieval of bgImg is currently not functional on OS9 - * so skip attempts to alpha blend. - */ - 0 && -#endif - (instancePtr->masterPtr->flags & COMPLEX_ALPHA) + if ((instancePtr->masterPtr->flags & COMPLEX_ALPHA) && visInfo.depth >= 15 && (visInfo.class == DirectColor || visInfo.class == TrueColor)) { Tk_ErrorHandler handler; |