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:
@@ -993,6 +993,9 @@ _mesa_update_state( GLcontext *ctx )
|
||||
if (new_state & _NEW_LIGHT)
|
||||
_mesa_update_lighting( ctx );
|
||||
|
||||
if (new_state & _NEW_STENCIL)
|
||||
_mesa_update_stencil( ctx );
|
||||
|
||||
if (new_state & _IMAGE_NEW_TRANSFER_STATE)
|
||||
_mesa_update_pixel( ctx, new_state );
|
||||
|
||||
|
Reference in New Issue
Block a user