r300: Corrected r300UpdateCulling; would only set font face if culling was set.

This commit is contained in:
Tommy Schultz Lassen 2007-07-11 17:35:35 +00:00 committed by Oliver McFadden
parent 922dadf422
commit 4bd04c9851

View file

@ -325,12 +325,11 @@ static void r300UpdateCulling(GLcontext * ctx)
val = R300_CULL_FRONT;
else
val = R300_CULL_BACK;
if (ctx->Polygon.FrontFace == GL_CW)
val |= R300_FRONT_FACE_CW;
else
val |= R300_FRONT_FACE_CCW;
}
if (ctx->Polygon.FrontFace == GL_CW)
val |= R300_FRONT_FACE_CW;
else
val |= R300_FRONT_FACE_CCW;
r300->hw.cul.cmd[R300_CUL_CULL] = val;
}