summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 6fc770eb3bb..509ee42a023 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 );