summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/lines.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-03 18:55:45 +0000
committerBrian Paul <[email protected]>2000-03-03 18:55:45 +0000
commit1b6592aae72e7974a16437c64f90152e83917450 (patch)
tree4f0b8a7f02c016c28f5e2f3822ba748176445554 /src/mesa/main/lines.c
parent4f980f4ebb0fc9ec9032a31d54cc1fd745359e0b (diff)
added LineWidth device driver function
Diffstat (limited to 'src/mesa/main/lines.c')
-rw-r--r--src/mesa/main/lines.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index 5d33946ce3f..ba877a85e19 100644
--- a/src/mesa/main/lines.c
+++ b/src/mesa/main/lines.c
@@ -1,4 +1,4 @@
-/* $Id: lines.c,v 1.8 2000/02/27 20:38:15 keithw Exp $ */
+/* $Id: lines.c,v 1.9 2000/03/03 18:55:45 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -58,6 +58,8 @@ _mesa_LineWidth( GLfloat width )
ctx->TriangleCaps &= ~DD_LINE_WIDTH;
if (width != 1.0) ctx->TriangleCaps |= DD_LINE_WIDTH;
ctx->NewState |= NEW_RASTER_OPS;
+ if (ctx->Driver.LineWidth)
+ (*ctx->Driver.LineWidth)(ctx, width);
}
}