diff options
author | Keith Packard <keithp@keithp.com> | 2004-08-07 00:58:21 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2004-08-07 00:58:21 +0000 |
commit | cff0043a347ba06e8ab16a84a35c99794b45149b (patch) | |
tree | ef98083e4671a7f209f3285556d37f221ec02ba4 /composite | |
parent | 196aafb19a3cfdc8c21f9bf75814cf0d84ff4446 (diff) |
Remove alpha-related fields from visual structure to retain binary
compatibilty. Applications using ARGB visuals will need to use Render
or other mechanisms to compute pixel values instead of AllocColor
Diffstat (limited to 'composite')
-rw-r--r-- | composite/compinit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/composite/compinit.c b/composite/compinit.c index 1f1208b86..f3dc0373e 100644 --- a/composite/compinit.c +++ b/composite/compinit.c @@ -253,9 +253,6 @@ compAddAlternateVisuals (ScreenPtr pScreen, CompScreenPtr cs) visual->offsetRed = pPictFormat->direct.red; visual->offsetGreen = pPictFormat->direct.green; visual->offsetBlue = pPictFormat->direct.blue; - visual->alphaMask = (((unsigned long) pPictFormat->direct.alphaMask) << - pPictFormat->direct.alpha); - visual->offsetAlpha = pPictFormat->direct.alpha; /* * follow GLX and set nplanes to just the bits * used for the RGB value, not A |