diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-08-10 02:25:13 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-11 08:12:50 +1000 |
commit | dfac18c67a17782a0263daf8cb4ee487374abd2c (patch) | |
tree | 91171d1efc51a534eb64772f0efc842c2a8e2cf2 | |
parent | ff7010e06b6da0fe27143b47b8a4ffd2f12894b7 (diff) |
exa/nv10: use color 0 when the pict format has no RGB component
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | src/nv10_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv10_exa.c b/src/nv10_exa.c index df2f561..47cf0ef 100644 --- a/src/nv10_exa.c +++ b/src/nv10_exa.c @@ -520,7 +520,7 @@ setup_picture(NVPtr pNv, PicturePtr pict, PixmapPtr pixmap, int unit, if (pict && PICT_FORMAT_RGB(pict->format)) *color = RCSEL_COLOR | source; else - *color = RCSEL_ALPHA | RCINP_ZERO; + *color = RCSEL_COLOR | RCINP_ZERO; if (pict && PICT_FORMAT_A(pict->format)) *alpha = RCSEL_ALPHA | source; |