From: Alan Hourihane Date: Thu, 13 Jan 2005 00:15:28 +0000 (+0000) Subject: As we fallback for polygon stipple on the CLE266 for now, ensure we X-Git-Tag: 062012170305~23380 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ff4eca05c67b2969386db36ee8123fc8a5e55ac;p=profile%2Fivi%2Fmesa.git As we fallback for polygon stipple on the CLE266 for now, ensure we don't turn on the polygon stipple hardware bit. --- diff --git a/src/mesa/drivers/dri/unichrome/via_state.c b/src/mesa/drivers/dri/unichrome/via_state.c index a827849..49782c7 100644 --- a/src/mesa/drivers/dri/unichrome/via_state.c +++ b/src/mesa/drivers/dri/unichrome/via_state.c @@ -1432,11 +1432,13 @@ static void viaChoosePolygonState(GLcontext *ctx) } } - if (ctx->Polygon.StippleFlag) { - vmesa->regEnable |= HC_HenSP_MASK; - } - else { - vmesa->regEnable &= ~HC_HenSP_MASK; + if (vmesa->viaScreen->deviceID != VIA_CLE266) { + if (ctx->Polygon.StippleFlag) { + vmesa->regEnable |= HC_HenSP_MASK; + } + else { + vmesa->regEnable &= ~HC_HenSP_MASK; + } } if (ctx->Polygon.CullFlag) {