Fix tristrips (which fixes coloredTexPerf2 & coloredLitPerf2 glean tests)
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 18 Jan 2005 15:06:01 +0000 (15:06 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 18 Jan 2005 15:06:01 +0000 (15:06 +0000)
src/mesa/drivers/dri/unichrome/via_tris.c

index ff46de18c03970c9ccadc7315f12b904002ef0cd..3d2972830388f35d77708d9a6a210bcc1a45b845 100644 (file)
@@ -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 |