From 9c49c9d8ddac5be2cc399a62e48257b21d7922e9 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 20 Jun 2017 18:13:36 +0200 Subject: mesa: add KHR_no_error support for glStencilFuncSeparate() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/stencil.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mesa/main/stencil.c') 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 @@ -475,6 +475,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) { -- cgit v1.2.3