summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2005-01-18 15:06:01 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2005-01-18 15:06:01 +0000
commit95be63771aa798b0492fd337161ba6f192d7c7c9 (patch)
tree0cd16388bbf1fa63b7b183e21c32c61a5b76e326
parent4cfd97e3a8e6fcfe4d07afe6526c04f11f7e5181 (diff)
Fix tristrips (which fixes coloredTexPerf2 & coloredLitPerf2 glean tests)
-rw-r--r--src/mesa/drivers/dri/unichrome/via_tris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tris.c b/src/mesa/drivers/dri/unichrome/via_tris.c
index ff46de18c0..3d29728303 100644
--- a/src/mesa/drivers/dri/unichrome/via_tris.c
+++ b/src/mesa/drivers/dri/unichrome/via_tris.c
@@ -907,7 +907,7 @@ void viaRasterPrimitive(GLcontext *ctx,
HC_HVCycle_AC | HC_HVCycle_BB | HC_HVCycle_NewC;
regCmdB |= HC_HVCycle_AA | HC_HVCycle_BC | HC_HVCycle_NewC;
if (ctx->Light.ShadeModel == GL_FLAT)
- vmesa->regCmdA_End |= HC_HShading_FlatB;
+ vmesa->regCmdA_End |= HC_HShading_FlatC;
break;
case GL_TRIANGLE_FAN:
vmesa->regCmdA_End |= HC_HPMType_Tri | HC_HVCycle_AFP |