another tweak to two-sided detection test

This commit is contained in:
Brian Paul
2004-02-04 03:34:30 +00:00
parent 609f35274c
commit 867fa0b572

View File

@@ -291,7 +291,7 @@ void _swsetup_choose_trifuncs( GLcontext *ctx )
ind |= SS_OFFSET_BIT; ind |= SS_OFFSET_BIT;
if ((ctx->Light.Enabled && ctx->Light.Model.TwoSide) || if ((ctx->Light.Enabled && ctx->Light.Model.TwoSide) ||
ctx->VertexProgram.TwoSideEnabled) (ctx->VertexProgram.Enabled && ctx->VertexProgram.TwoSideEnabled))
ind |= SS_TWOSIDE_BIT; ind |= SS_TWOSIDE_BIT;
/* We piggyback the two-sided stencil front/back determination on the /* We piggyback the two-sided stencil front/back determination on the