summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/stencil.c9
-rw-r--r--src/mesa/main/stencil.h3
2 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c
index fa68fa1bd0d..d7e94194012 100644
--- a/src/mesa/main/stencil.c
+++ b/src/mesa/main/stencil.c
@@ -430,6 +430,15 @@ stencil_op_separate(struct gl_context *ctx, GLenum face, GLenum sfail,
void GLAPIENTRY
+_mesa_StencilOpSeparate_no_error(GLenum face, GLenum sfail, GLenum zfail,
+ GLenum zpass)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ stencil_op_separate(ctx, face, sfail, zfail, zpass);
+}
+
+
+void GLAPIENTRY
_mesa_StencilOpSeparate(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass)
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/stencil.h b/src/mesa/main/stencil.h
index af7067381c7..87708e009c9 100644
--- a/src/mesa/main/stencil.h
+++ b/src/mesa/main/stencil.h
@@ -56,6 +56,9 @@ _mesa_StencilOp( GLenum fail, GLenum zfail, GLenum zpass );
extern void GLAPIENTRY
_mesa_ActiveStencilFaceEXT(GLenum face);
+void GLAPIENTRY
+_mesa_StencilOpSeparate_no_error(GLenum face, GLenum fail, GLenum zfail,
+ GLenum zpass);
extern void GLAPIENTRY
_mesa_StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);