diff options
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r-- | src/mesa/main/state.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 89248600177..f4156769f6f 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -445,8 +445,6 @@ update_tricaps(struct gl_context *ctx, GLbitfield new_state) */ if (ctx->Light.Enabled && ctx->Light.Model.TwoSide) ctx->_TriangleCaps |= DD_TRI_LIGHT_TWOSIDE; - if (ctx->Light.ShadeModel == GL_FLAT) - ctx->_TriangleCaps |= DD_FLATSHADE; if (_mesa_need_secondary_color(ctx)) ctx->_TriangleCaps |= DD_SEPARATE_SPECULAR; } |