summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/stencil.c8
-rw-r--r--src/mesa/main/stencil.h3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c
index 4c35b2d20d7..82dd7870675 100644
--- a/src/mesa/main/stencil.c
+++ b/src/mesa/main/stencil.c
@@ -230,6 +230,14 @@ stencil_func(struct gl_context *ctx, GLenum func, GLint ref, GLuint mask)
void GLAPIENTRY
+_mesa_StencilFunc_no_error(GLenum func, GLint ref, GLuint mask)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ stencil_func(ctx, func, ref, mask);
+}
+
+
+void GLAPIENTRY
_mesa_StencilFunc(GLenum func, GLint ref, GLuint mask)
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/stencil.h b/src/mesa/main/stencil.h
index a7a2210ac9b..71844712a28 100644
--- a/src/mesa/main/stencil.h
+++ b/src/mesa/main/stencil.h
@@ -41,6 +41,9 @@ extern void GLAPIENTRY
_mesa_ClearStencil( GLint s );
+void GLAPIENTRY
+_mesa_StencilFunc_no_error(GLenum func, GLint ref, GLuint mask);
+
extern void GLAPIENTRY
_mesa_StencilFunc(GLenum func, GLint ref, GLuint mask);