summaryrefslogtreecommitdiff
path: root/src/mesa/main/lines.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/lines.c')
-rw-r--r--src/mesa/main/lines.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index 275e9a229b3..f45a7f54e9d 100644
--- a/src/mesa/main/lines.c
+++ b/src/mesa/main/lines.c
@@ -70,9 +70,6 @@ line_width(struct gl_context *ctx, GLfloat width, bool no_error)
FLUSH_VERTICES(ctx, ctx->DriverFlags.NewLineState ? 0 : _NEW_LINE, GL_LINE_BIT);
ctx->NewDriverState |= ctx->DriverFlags.NewLineState;
ctx->Line.Width = width;
-
- if (ctx->Driver.LineWidth)
- ctx->Driver.LineWidth(ctx, width);
}
@@ -126,9 +123,6 @@ _mesa_LineStipple( GLint factor, GLushort pattern )
ctx->NewDriverState |= ctx->DriverFlags.NewLineState;
ctx->Line.StippleFactor = factor;
ctx->Line.StipplePattern = pattern;
-
- if (ctx->Driver.LineStipple)
- ctx->Driver.LineStipple( ctx, factor, pattern );
}