mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 23:00:11 +01:00
r300: Corrected r300UpdateCulling; would only set font face if culling was set.
This commit is contained in:
parent
922dadf422
commit
4bd04c9851
1 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue