summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-03-07 23:32:31 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-03-07 23:32:31 +0000
commita5c68c872ddcac6b844aa666edee72196af93a4a (patch)
treea0e6819c136710cf578bcd2228cf48d91fb30bd0 /src/mesa
parent156df3e83417149efc1f18e9e47ed7d5dbba629c (diff)
Fixed texture tiling format for 8bit texels on ProSavage and Twister.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/savage/savagetex.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/savage/savagetex.c b/src/mesa/drivers/dri/savage/savagetex.c
index f92d3ba4d5..45d347b0be 100644
--- a/src/mesa/drivers/dri/savage/savagetex.c
+++ b/src/mesa/drivers/dri/savage/savagetex.c
@@ -52,11 +52,11 @@
* x 1
*/
static const savageTileInfo tileInfo_pro[5] = {
- {64, 64, 8, 8, 8, 8, {0x12, 0x02}}, /* 4-bit */
- {64, 32, 8, 4, 8, 8, {0x24, 0x04}}, /* 8-bit */
- {64, 16, 8, 2, 8, 8, {0x48, 0x08}}, /* 16-bit */
- { 0, 0, 0, 0, 0, 0, {0x00, 0x00}}, /* 24-bit */
- {32, 16, 4, 2, 8, 8, {0x90, 0x10}}, /* 32-bit */
+ {64, 64, 8, 8, 8, 8, {0x12, 0x02}}, /* 4-bit */
+ {64, 32, 16, 4, 4, 8, {0x30, 0x20}}, /* 8-bit */
+ {64, 16, 8, 2, 8, 8, {0x48, 0x08}}, /* 16-bit */
+ { 0, 0, 0, 0, 0, 0, {0x00, 0x00}}, /* 24-bit */
+ {32, 16, 4, 2, 8, 8, {0x90, 0x10}}, /* 32-bit */
};
/* Size 1, 2 and 4 images are packed into the last two subtiles. Each