summaryrefslogtreecommitdiff
path: root/src/mga_reg.h
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_reg.h
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_reg.h')
-rw-r--r--src/mga_reg.h2
1 files changed, 2 insertions, 0 deletions
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 */