summaryrefslogtreecommitdiff
path: root/src/mga_reg.h
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-09-07 22:21:19 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-09-07 22:21:19 +0200
commitad57c370ba8ffcbf0b7cf404c61ed01bc924ddd5 (patch)
tree40b201514f05b2ae3f1b4fa78653f7527b3ebe7b /src/mga_reg.h
parentc39749d6e0e967cd12bcc629c3840905e07dd60c (diff)
Use the right dithering mode for r5g5b5 textures.
This makes all of rendercheck's blend tests work.
Diffstat (limited to 'src/mga_reg.h')
-rw-r--r--src/mga_reg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mga_reg.h b/src/mga_reg.h
index 9a64955..e67158c 100644
--- a/src/mga_reg.h
+++ b/src/mga_reg.h
@@ -133,6 +133,13 @@
#define MGAOPM_DMA_BLIT (0x01 << 2)
#define MGAOPM_DMA_VECTOR (0x10 << 2)
+/* MACCESS register additives */
+#define MGAMAC_PW8 0x00
+#define MGAMAC_PW16 0x01
+#define MGAMAC_PW24 0x03 /* not a typo */
+#define MGAMAC_PW32 0x02 /* not a typo */
+#define MGAMAC_DIT555 0x80000000
+
/* DWGCTL register additives */
/* Lines */