summaryrefslogtreecommitdiff
path: root/src/mga_exa.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-09-16 22:31:02 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-09-16 22:31:02 +0200
commit3d7c109c4864f021590c3bcf0f09685498225dde (patch)
tree07bcae0f2cd4776c16aa43cc444f904eb1a788f6 /src/mga_exa.c
parent2eae7c98fcd3f452f9b9c2eef4a9cf820edf69aa (diff)
Enable the BYPASS332 and NODITHER flags when writing to 8 bpp dests.
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.
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r--src/mga_exa.c2
1 files changed, 1 insertions, 1 deletions
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))