aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/points.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/points.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/points.c')
-rw-r--r--src/mesa/main/points.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c
index c925d4cfd0c..3239c6f2804 100644
--- a/src/mesa/main/points.c
+++ b/src/mesa/main/points.c
@@ -122,11 +122,6 @@ _mesa_PointParameterfv( GLenum pname, const GLfloat *params)
ctx->Point._Attenuated = (ctx->Point.Params[0] != 1.0 ||
ctx->Point.Params[1] != 0.0 ||
ctx->Point.Params[2] != 0.0);
-
- if (ctx->Point._Attenuated)
- ctx->_TriangleCaps |= DD_POINT_ATTEN;
- else
- ctx->_TriangleCaps &= ~DD_POINT_ATTEN;
break;
case GL_POINT_SIZE_MIN_EXT:
if (params[0] < 0.0F) {