From: Alan Hourihane Date: Tue, 18 Jan 2005 15:06:01 +0000 (+0000) Subject: Fix tristrips (which fixes coloredTexPerf2 & coloredLitPerf2 glean tests) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95be63771aa798b0492fd337161ba6f192d7c7c9;p=mesa.git Fix tristrips (which fixes coloredTexPerf2 & coloredLitPerf2 glean tests) --- 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 |