diff options
author | Brian Paul <[email protected]> | 2002-10-04 17:37:45 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-10-04 17:37:45 +0000 |
commit | f782b8189e718974a40d72ac4f6b8d213ca99e1e (patch) | |
tree | 0a7269316b1d75a69eabab205a93fc38036ce7b2 /src/mesa/swrast_setup/ss_tritmp.h | |
parent | f8acbed50d96d35d2a354f1fe7e81594d79a3186 (diff) |
multiple GL_POINTS can now be rendered together into one fragment span
Diffstat (limited to 'src/mesa/swrast_setup/ss_tritmp.h')
-rw-r--r-- | src/mesa/swrast_setup/ss_tritmp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/swrast_setup/ss_tritmp.h b/src/mesa/swrast_setup/ss_tritmp.h index 2a1ff14cf9c..27baf5f7594 100644 --- a/src/mesa/swrast_setup/ss_tritmp.h +++ b/src/mesa/swrast_setup/ss_tritmp.h @@ -1,4 +1,4 @@ -/* $Id: ss_tritmp.h,v 1.16 2002/10/02 23:24:04 brianp Exp $ */ +/* $Id: ss_tritmp.h,v 1.17 2002/10/04 17:37:47 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -54,7 +54,8 @@ static void TAG(triangle)(GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 ) if (IND & (SS_TWOSIDE_BIT | SS_UNFILLED_BIT)) { facing = (cc < 0.0) ^ ctx->Polygon._FrontBit; - ctx->_Facing = facing; /* for 2-sided stencil test */ + if (ctx->Stencil.TestTwoSide) + ctx->_Facing = facing; /* for 2-sided stencil test */ if (IND & SS_UNFILLED_BIT) mode = facing ? ctx->Polygon.BackMode : ctx->Polygon.FrontMode; |