summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-04-16 19:06:22 -0600
committerBrian Paul <[email protected]>2013-04-17 11:59:40 -0600
commitc6a81448f8d55a510d8e32cf28e1e174bf2574dd (patch)
tree5c7a2327cc77fae5397ee64c294ce12b40894b43 /src/mesa/main/state.c
parent4f57fbb507c77a627c9660756ce1b7ab8bcfeb78 (diff)
mesa: remove DD_POINT_ATTEN flag
For the i915 driver, make it a local macro. v2: use conditional operator instead of bit shifting Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 4e66310afed..628e2755b20 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -343,14 +343,6 @@ update_tricaps(struct gl_context *ctx, GLbitfield new_state)
ctx->_TriangleCaps = 0;
/*
- * Points
- */
- if (1/*new_state & _NEW_POINT*/) {
- if (ctx->Point._Attenuated)
- ctx->_TriangleCaps |= DD_POINT_ATTEN;
- }
-
- /*
* Polygons
*/
if (1/*new_state & _NEW_POLYGON*/) {