diff options
author | Roland Scheidegger <[email protected]> | 2010-11-08 21:53:11 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-11-10 17:24:42 +0100 |
commit | aad65fa112754074d24d0b5a8397db2663dc9454 (patch) | |
tree | f3bdaaee69440104bcbf1347961c47f1da4528e4 /src/mesa/main/lines.c | |
parent | c7192ab11f7e34fdfe17d36d089260c6703ddfa8 (diff) |
mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricaps
DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying
on this no longer needs it.
Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging
output, hence instead of fixing DD_POINT_SIZE setting just drop both of them -
there was a plan to remove tricaps flags entirely at some point.
Diffstat (limited to 'src/mesa/main/lines.c')
-rw-r--r-- | src/mesa/main/lines.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c index 505f840ba5a..81e179a9254 100644 --- a/src/mesa/main/lines.c +++ b/src/mesa/main/lines.c @@ -54,11 +54,6 @@ _mesa_LineWidth( GLfloat width ) FLUSH_VERTICES(ctx, _NEW_LINE); ctx->Line.Width = width; - if (width != 1.0F) - ctx->_TriangleCaps |= DD_LINE_WIDTH; - else - ctx->_TriangleCaps &= ~DD_LINE_WIDTH; - if (ctx->Driver.LineWidth) ctx->Driver.LineWidth(ctx, width); } |