From: Aapo Tahkola Date: Sun, 6 May 2007 16:25:45 +0000 (+0300) Subject: rs480: fix secondary color for real this time X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f1c63b263be86758c96d1b8fb4cfc7cac552dab;p=mesa.git rs480: fix secondary color for real this time --- diff --git a/src/mesa/drivers/dri/r300/r300_maos.c b/src/mesa/drivers/dri/r300/r300_maos.c index 8de464bcd81..34f2e569e92 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))