fix-build: remove ctx->_Facing assignment

This commit is contained in:
Brian
2007-11-30 15:52:27 -07:00
parent fcd7c37fd3
commit b0b882b666
-8
View File
@@ -155,10 +155,6 @@ static void TAG(triangle)( GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 )
{
facing = AREA_IS_CCW( cc ) ^ ctx->Polygon._FrontBit;
if (DO_TWOSTENCIL && ctx->Stencil.TestTwoSide) {
ctx->_Facing = facing; /* mixed mode rendering: for 2-sided stencil test */
}
if (DO_UNFILLED) {
if (facing) {
mode = ctx->Polygon.BackMode;
@@ -421,10 +417,6 @@ static void TAG(quad)( GLcontext *ctx,
{
facing = AREA_IS_CCW( cc ) ^ ctx->Polygon._FrontBit;
if (DO_TWOSTENCIL && ctx->Stencil.TestTwoSide) {
ctx->_Facing = facing; /* mixed mode rendering: for 2-sided stencil test */
}
if (DO_UNFILLED) {
if (facing) {
mode = ctx->Polygon.BackMode;