summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r--src/mesa/main/polygon.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c
index 98a9118fd20..44d943e930b 100644
--- a/src/mesa/main/polygon.c
+++ b/src/mesa/main/polygon.c
@@ -221,6 +221,14 @@ polygon_mode(struct gl_context *ctx, GLenum face, GLenum mode, bool no_error)
void GLAPIENTRY
+_mesa_PolygonMode_no_error(GLenum face, GLenum mode)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ polygon_mode(ctx, face, mode, true);
+}
+
+
+void GLAPIENTRY
_mesa_PolygonMode(GLenum face, GLenum mode)
{
GET_CURRENT_CONTEXT(ctx);