From 867fa0b5726f7b6c56961eecc33049b6755e58bf Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 4 Feb 2004 03:34:30 +0000 Subject: [PATCH] another tweak to two-sided detection test --- src/mesa/swrast_setup/ss_triangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c index 39e39126122..88ae07f5397 100644 --- a/src/mesa/swrast_setup/ss_triangle.c +++ b/src/mesa/swrast_setup/ss_triangle.c @@ -291,7 +291,7 @@ void _swsetup_choose_trifuncs( GLcontext *ctx ) ind |= SS_OFFSET_BIT; if ((ctx->Light.Enabled && ctx->Light.Model.TwoSide) || - ctx->VertexProgram.TwoSideEnabled) + (ctx->VertexProgram.Enabled && ctx->VertexProgram.TwoSideEnabled)) ind |= SS_TWOSIDE_BIT; /* We piggyback the two-sided stencil front/back determination on the -- 2.30.2