diff options
author | Brian Paul <[email protected]> | 2012-03-11 18:31:32 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-03-12 11:40:43 -0600 |
commit | d710bbcd7458f6d48cf86586865f91e47c30feb2 (patch) | |
tree | 989ed5d6ca504cf2aef796de485287c6371fa191 /src/mesa/main/light.c | |
parent | d269b1f3107ed569663b96bfd6832c177df0050e (diff) |
mesa: remove unused DD_FLATSHADE
Reviewed-by: José Fonseca <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/light.c')
-rw-r--r-- | src/mesa/main/light.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index 962a3e6893d..7bc22e2fa54 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -54,10 +54,6 @@ _mesa_ShadeModel( GLenum mode ) FLUSH_VERTICES(ctx, _NEW_LIGHT); ctx->Light.ShadeModel = mode; - if (mode == GL_FLAT) - ctx->_TriangleCaps |= DD_FLATSHADE; - else - ctx->_TriangleCaps &= ~DD_FLATSHADE; if (ctx->Driver.ShadeModel) ctx->Driver.ShadeModel( ctx, mode ); |