Use MT_8BIT_A8 so PICT_a8 expands to (0,0,0,a) not (a,a,a,a)

This commit is contained in:
Eric Anholt 2006-07-20 17:34:50 -04:00
parent fd6d825ae0
commit 45cb032e2b
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ static struct formatinfo I915TexFormats[] = {
{PICT_r5g6b5, MT_16BIT_RGB565 },
{PICT_a1r5g5b5, MT_16BIT_ARGB1555 },
{PICT_x1r5g5b5, MT_16BIT_ARGB1555 },
{PICT_a8, MT_8BIT_I8 },
{PICT_a8, MT_8BIT_A8 },
};
static CARD32 I915GetBlendCntl(int op, PicturePtr pMask, CARD32 dst_format)