summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-03-11 18:31:32 -0600
committerBrian Paul <[email protected]>2012-03-12 11:40:43 -0600
commitd269b1f3107ed569663b96bfd6832c177df0050e (patch)
tree4fe865dd982dfa11b393bf118ae29a60d784cb1a /src/mesa/main/state.c
parent291e4104aeca61c51beda42cb53a4b99dfaf4bf9 (diff)
mesa: remove unused DD_TRI_TWOSTENCIL
Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 0334f6f5aae..89248600177 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -449,12 +449,6 @@ update_tricaps(struct gl_context *ctx, GLbitfield new_state)
ctx->_TriangleCaps |= DD_FLATSHADE;
if (_mesa_need_secondary_color(ctx))
ctx->_TriangleCaps |= DD_SEPARATE_SPECULAR;
-
- /*
- * Stencil
- */
- if (ctx->Stencil._TestTwoSide)
- ctx->_TriangleCaps |= DD_TRI_TWOSTENCIL;
}
#endif