summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-03-12 12:45:44 -0600
committerBrian Paul <[email protected]>2012-03-12 12:47:03 -0600
commit82195815ec0422d5a762397b8717239861dc6800 (patch)
treec490b8c81d0c393c1512eea9ff0ebf525de0b67f /src/mesa/drivers/dri/radeon
parent7f94d9819dd05bf00191c1f1ff98551de9aa4d1b (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.c2
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;