summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/polygon.c8
-rw-r--r--src/mesa/main/polygon.h3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c
index 7ad536fe5e0..f447993072a 100644
--- a/src/mesa/main/polygon.c
+++ b/src/mesa/main/polygon.c
@@ -122,6 +122,14 @@ front_face(struct gl_context *ctx, GLenum mode, bool no_error)
void GLAPIENTRY
+_mesa_FrontFace_no_error(GLenum mode)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ front_face(ctx, mode, true);
+}
+
+
+void GLAPIENTRY
_mesa_FrontFace(GLenum mode)
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/polygon.h b/src/mesa/main/polygon.h
index b9570cd1883..39b7a73be20 100644
--- a/src/mesa/main/polygon.h
+++ b/src/mesa/main/polygon.h
@@ -45,6 +45,9 @@ _mesa_CullFace_no_error(GLenum mode);
extern void GLAPIENTRY
_mesa_CullFace(GLenum mode);
+void GLAPIENTRY
+_mesa_FrontFace_no_error(GLenum mode);
+
extern void GLAPIENTRY
_mesa_FrontFace(GLenum mode);