summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/lines.c8
-rw-r--r--src/mesa/main/lines.h3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index 04b3e2ff126..78d3a7729b9 100644
--- a/src/mesa/main/lines.c
+++ b/src/mesa/main/lines.c
@@ -77,6 +77,14 @@ line_width(struct gl_context *ctx, GLfloat width, bool no_error)
void GLAPIENTRY
+_mesa_LineWidth_no_error(GLfloat width)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ line_width(ctx, width, true);
+}
+
+
+void GLAPIENTRY
_mesa_LineWidth(GLfloat width)
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/lines.h b/src/mesa/main/lines.h
index 9a16069a6d5..78a405cbac4 100644
--- a/src/mesa/main/lines.h
+++ b/src/mesa/main/lines.h
@@ -37,6 +37,9 @@
struct gl_context;
+void GLAPIENTRY
+_mesa_LineWidth_no_error(GLfloat width);
+
extern void GLAPIENTRY
_mesa_LineWidth( GLfloat width );