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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user