From 3d7c109c4864f021590c3bcf0f09685498225dde Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sat, 16 Sep 2006 22:31:02 +0200 Subject: Enable the BYPASS332 and NODITHER flags when writing to 8 bpp dests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Ville Syrjälä, who noticed these were missing. Note that this messes up glyph compositing (A8 add A8) pretty much, but I don't know what's really going on there yet. --- src/mga_exa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mga_exa.c') diff --git a/src/mga_exa.c b/src/mga_exa.c index cc73895..6583b0c 100644 --- a/src/mga_exa.c +++ b/src/mga_exa.c @@ -148,7 +148,7 @@ mgaGetMACCESS(PixmapPtr pixmap, PicturePtr pict) { switch (pixmap->drawable.bitsPerPixel) { case 8: - return MGAMAC_PW8; + return MGAMAC_PW8 | MGAMAC_BYPASS332 | MGAMAC_NODITHER; case 16: if (pict && (pict->format == PICT_x1r5g5b5 || pict->format == PICT_a1r5g5b5)) -- cgit v1.2.3