diff options
author | Brian Paul <[email protected]> | 2012-03-12 12:45:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-03-12 12:47:03 -0600 |
commit | 82195815ec0422d5a762397b8717239861dc6800 (patch) | |
tree | c490b8c81d0c393c1512eea9ff0ebf525de0b67f /src/mesa/drivers/dri/radeon | |
parent | 7f94d9819dd05bf00191c1f1ff98551de9aa4d1b (diff) |
radeon: remove use of DD_FLATSHADE
This got missed earlier <sigh>.
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_tcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tcl.c b/src/mesa/drivers/dri/radeon/radeon_tcl.c index 09f097c4b4d..52e435c83bb 100644 --- a/src/mesa/drivers/dri/radeon/radeon_tcl.c +++ b/src/mesa/drivers/dri/radeon/radeon_tcl.c @@ -265,7 +265,7 @@ void radeonTclPrimitive( struct gl_context *ctx, se_cntl = rmesa->hw.set.cmd[SET_SE_CNTL]; se_cntl &= ~RADEON_FLAT_SHADE_VTX_LAST; - if (prim == GL_POLYGON && (ctx->_TriangleCaps & DD_FLATSHADE)) + if (prim == GL_POLYGON && ctx->Light.ShadeModel == GL_FLAT) se_cntl |= RADEON_FLAT_SHADE_VTX_0; else se_cntl |= RADEON_FLAT_SHADE_VTX_LAST; |