summaryrefslogtreecommitdiff
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-03-03 18:55:45 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-03-03 18:55:45 +0000
commit1b6592aae72e7974a16437c64f90152e83917450 (patch)
tree4f0b8a7f02c016c28f5e2f3822ba748176445554 /src/mesa/main/attrib.c
parent4f980f4ebb0fc9ec9032a31d54cc1fd745359e0b (diff)
added LineWidth device driver function
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 35af04d5f3..4ad733b3cd 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1,4 +1,4 @@
-/* $Id: attrib.c,v 1.17 2000/02/27 20:38:15 keithw Exp $ */
+/* $Id: attrib.c,v 1.18 2000/03/03 18:55:45 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -639,6 +639,11 @@ _mesa_PopAttrib(void)
(*ctx->Driver.Enable)( ctx, GL_LINE_SMOOTH, ctx->Line.SmoothFlag );
(*ctx->Driver.Enable)( ctx, GL_LINE_STIPPLE, ctx->Line.StippleFlag );
}
+ if (ctx->Driver.LineStipple)
+ (*ctx->Driver.LineStipple)(ctx, ctx->Line.StippleFactor,
+ ctx->Line.StipplePattern);
+ if (ctx->Driver.LineWidth)
+ (*ctx->Driver.LineWidth)(ctx, ctx->Line.Width);
break;
case GL_LIST_BIT:
MEMCPY( &ctx->List, attr->data, sizeof(struct gl_list_attrib) );