OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.

See comment near top of stencil.c for info about OpenGL 2.0 vs.
GL_EXT_stencil_two_side.
This commit is contained in:
Brian Paul
2005-09-13 02:59:53 +00:00
parent bdf8441f80
commit 42c34efd23
8 changed files with 154 additions and 56 deletions

View File

@@ -299,7 +299,7 @@ void _swsetup_choose_trifuncs( GLcontext *ctx )
*/
if (ctx->Polygon.FrontMode != GL_FILL ||
ctx->Polygon.BackMode != GL_FILL ||
(ctx->Stencil.Enabled && ctx->Stencil.TestTwoSide))
(ctx->Stencil.Enabled && ctx->Stencil._TestTwoSide))
ind |= SS_UNFILLED_BIT;
if (ctx->Visual.rgbMode)