summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-02-04 03:34:30 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-02-04 03:34:30 +0000
commit867fa0b5726f7b6c56961eecc33049b6755e58bf (patch)
tree2b4554e466b760162b9313ff4d8a11cf68c957ac /src/mesa/swrast_setup
parent609f35274c9dcf8607673ec1970efff583c97ed7 (diff)
another tweak to two-sided detection test
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r--src/mesa/swrast_setup/ss_triangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c
index 39e3912612..88ae07f539 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