From 95be63771aa798b0492fd337161ba6f192d7c7c9 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 18 Jan 2005 15:06:01 +0000 Subject: Fix tristrips (which fixes coloredTexPerf2 & coloredLitPerf2 glean tests) --- src/mesa/drivers/dri/unichrome/via_tris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/unichrome/via_tris.c b/src/mesa/drivers/dri/unichrome/via_tris.c index ff46de18c03..3d297283038 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 | -- cgit v1.2.3