summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorAapo Tahkola <aapo@aapo-desktop.(none)>2007-05-06 19:25:45 +0300
committerAapo Tahkola <aapo@aapo-desktop.(none)>2007-05-06 19:25:45 +0300
commit8f1c63b263be86758c96d1b8fb4cfc7cac552dab (patch)
tree7d77aea74f8f843fb1a2b5e2a647dbbf0ccad86a /src/mesa
parent857ebc6d472c66dbb6ae9d691adfdcffa53335a8 (diff)
rs480: fix secondary color for real this time
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_maos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_maos.c b/src/mesa/drivers/dri/r300/r300_maos.c
index 8de464bcd8..34f2e569e9 100644
--- a/src/mesa/drivers/dri/r300/r300_maos.c
+++ b/src/mesa/drivers/dri/r300/r300_maos.c
@@ -454,7 +454,7 @@ int r300EmitArrays(GLcontext *ctx)
inputs[VERT_ATTRIB_COLOR0] = 2;
if (InputsRead & (1 << VERT_ATTRIB_COLOR1))
- inputs[VERT_ATTRIB_COLOR0] = 3;
+ inputs[VERT_ATTRIB_COLOR1] = 3;
for (i = VERT_ATTRIB_TEX0; i <= VERT_ATTRIB_TEX7; i++)
if (InputsRead & (1 << i))