diff --git a/src/mesa/drivers/dri/r600/r700_state.c b/src/mesa/drivers/dri/r600/r700_state.c index d742067..cb8bc93 100644 --- a/src/mesa/drivers/dri/r600/r700_state.c +++ b/src/mesa/drivers/dri/r600/r700_state.c @@ -1228,11 +1228,11 @@ static void r700UpdatePolygonMode(GLcontext * ctx) * correctly by selecting the correct front and back face */ if (ctx->Polygon.FrontFace == GL_CCW) { - f = ctx->Polygon.FrontMode; - b = ctx->Polygon.BackMode; - } else { f = ctx->Polygon.BackMode; b = ctx->Polygon.FrontMode; + } else { + f = ctx->Polygon.FrontMode; + b = ctx->Polygon.BackMode; } /* Enable polygon mode */