summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-06-23 17:11:05 +0200
committerSamuel Pitoiset <[email protected]>2017-06-28 10:25:12 +0200
commitd700ade81a8a88bb6eb07f271ba9b554e73d27b8 (patch)
tree41913077867a4cd0fb2946531846010d16047373 /src/mesa/main/polygon.c
parentac92b750022567c64c7ed72db3eaefe15ba670cd (diff)
mesa: add KHR_no_error support for glCullFace()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
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 13dca6d39cf..49a60e8e533 100644
--- a/src/mesa/main/polygon.c
+++ b/src/mesa/main/polygon.c
@@ -66,6 +66,14 @@ cull_face(struct gl_context *ctx, GLenum mode)
void GLAPIENTRY
+_mesa_CullFace_no_error(GLenum mode)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ cull_face(ctx, mode);
+}
+
+
+void GLAPIENTRY
_mesa_CullFace(GLenum mode)
{
GET_CURRENT_CONTEXT(ctx);