From aad65fa112754074d24d0b5a8397db2663dc9454 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Mon, 8 Nov 2010 21:53:11 +0100 Subject: 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. --- src/mesa/main/lines.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mesa/main/lines.c') diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c index 505f840ba5..81e179a925 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); } -- cgit v1.2.3