diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mga_exa.c | 2 | ||||
-rw-r--r-- | src/mga_reg.h | 2 |
2 files changed, 3 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)) diff --git a/src/mga_reg.h b/src/mga_reg.h index e67158c..874c4ed 100644 --- a/src/mga_reg.h +++ b/src/mga_reg.h @@ -138,6 +138,8 @@ #define MGAMAC_PW16 0x01 #define MGAMAC_PW24 0x03 /* not a typo */ #define MGAMAC_PW32 0x02 /* not a typo */ +#define MGAMAC_BYPASS332 0x10000000 +#define MGAMAC_NODITHER 0x40000000 #define MGAMAC_DIT555 0x80000000 /* DWGCTL register additives */ |