summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/ffb/ffb_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/ffb/ffb_state.c')
-rw-r--r--src/mesa/drivers/dri/ffb/ffb_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_state.c b/src/mesa/drivers/dri/ffb/ffb_state.c
index 48b58e0993..86df5b4bca 100644
--- a/src/mesa/drivers/dri/ffb/ffb_state.c
+++ b/src/mesa/drivers/dri/ffb/ffb_state.c
@@ -592,6 +592,8 @@ static void ffbDDColorMask(GLcontext *ctx,
new_pmask |= 0x0000ff00;
if (b)
new_pmask |= 0x00ff0000;
+ if (a)
+ new_pmask |= 0xff000000;
if (fmesa->pmask != new_pmask) {
fmesa->pmask = new_pmask;