From 42c34efd23d7ad05df9f3c71f7d52dd259e179d8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Sep 2005 02:59:53 +0000 Subject: 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. --- src/mesa/main/state.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main/state.c') diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 6fc770eb3b..509ee42a02 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -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 ); -- cgit v1.2.3