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, 0 insertions, 3 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index b7e165fab62..d1d0c2cd998 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -379,9 +379,6 @@ _mesa_update_state_locked( struct gl_context *ctx )
if (new_state & (_NEW_LIGHT | _NEW_PROGRAM))
update_twoside( ctx );
- if (new_state & (_NEW_STENCIL | _NEW_BUFFERS))
- _mesa_update_stencil( ctx );
-
if (new_state & _NEW_PIXEL)
_mesa_update_pixel( ctx );