From 45cb032e2b7ac1e4c765fc29a2e4dd0cef19066d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 20 Jul 2006 17:34:50 -0400 Subject: [PATCH] Use MT_8BIT_A8 so PICT_a8 expands to (0,0,0,a) not (a,a,a,a) --- src/i915_exa_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i915_exa_render.c b/src/i915_exa_render.c index a063d8f8..795c0765 100644 --- a/src/i915_exa_render.c +++ b/src/i915_exa_render.c @@ -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)