diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/stencil.c | 9 | ||||
-rw-r--r-- | src/mesa/main/stencil.h | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c index 78a09072b29..0b7e151ad13 100644 --- a/src/mesa/main/stencil.c +++ b/src/mesa/main/stencil.c @@ -476,6 +476,15 @@ stencil_func_separate(struct gl_context *ctx, GLenum face, GLenum func, /* OpenGL 2.0 */ void GLAPIENTRY +_mesa_StencilFuncSeparate_no_error(GLenum face, GLenum func, GLint ref, + GLuint mask) +{ + GET_CURRENT_CONTEXT(ctx); + stencil_func_separate(ctx, face, func, ref, mask); +} + + +void GLAPIENTRY _mesa_StencilFuncSeparate(GLenum face, 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 3302cb94703..21b4adf6466 100644 --- a/src/mesa/main/stencil.h +++ b/src/mesa/main/stencil.h @@ -61,6 +61,10 @@ extern void GLAPIENTRY _mesa_StencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); +void GLAPIENTRY +_mesa_StencilFuncSeparate_no_error(GLenum face, GLenum func, GLint ref, + GLuint mask); + extern void GLAPIENTRY _mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |