summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-04-16 19:06:22 -0600
committerBrian Paul <brianp@vmware.com>2013-04-17 11:59:41 -0600
commitc9bb052e31b7952272e60d28969e90eafb6b3e1f (patch)
treea30c87f75f8019051f6ccb9085309028e2f29f40 /src/mesa/main/state.c
parent56dc53ed5bae2751eeadbfc1d163dfec72e8cfc8 (diff)
downloadexternal_mesa3d-c9bb052e31b7952272e60d28969e90eafb6b3e1f.zip
external_mesa3d-c9bb052e31b7952272e60d28969e90eafb6b3e1f.tar.gz
external_mesa3d-c9bb052e31b7952272e60d28969e90eafb6b3e1f.tar.bz2
mesa: remove DD_TRI_UNFILLED flag
Use alternate code in intel, r200, radeon drivers. v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index f724864..da7f713 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -327,15 +327,6 @@ update_tricaps(struct gl_context *ctx, GLbitfield new_state)
ctx->_TriangleCaps = 0;
/*
- * Polygons
- */
- if (1/*new_state & _NEW_POLYGON*/) {
- if (ctx->Polygon.FrontMode != GL_FILL
- || ctx->Polygon.BackMode != GL_FILL)
- ctx->_TriangleCaps |= DD_TRI_UNFILLED;
- }
-
- /*
* Lighting and shading
*/
if (ctx->Light.Enabled && ctx->Light.Model.TwoSide)