summaryrefslogtreecommitdiff
path: root/composite/compinit.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2004-08-07 00:58:21 +0000
committerKeith Packard <keithp@keithp.com>2004-08-07 00:58:21 +0000
commitcff0043a347ba06e8ab16a84a35c99794b45149b (patch)
treeef98083e4671a7f209f3285556d37f221ec02ba4 /composite/compinit.c
parent196aafb19a3cfdc8c21f9bf75814cf0d84ff4446 (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/compinit.c')
-rw-r--r--composite/compinit.c3
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