From 25591adc286a217ee344d17d277c81ba9e6d353b Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 15 May 2017 10:51:34 +1000 Subject: mesa: add KHR_no_error support for glBlendEquationSeparateiARB() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/mesa/main/blend.c | 9 +++++++++ src/mesa/main/blend.h | 3 +++ 2 files changed, 12 insertions(+) (limited to 'src/mesa/main') diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index e91c14aeb9d..8c763ed34e5 100644 --- a/src/mesa/main/blend.c +++ b/src/mesa/main/blend.c @@ -615,6 +615,15 @@ blend_equation_separatei(struct gl_context *ctx, GLuint buf, GLenum modeRGB, } +void GLAPIENTRY +_mesa_BlendEquationSeparateiARB_no_error(GLuint buf, GLenum modeRGB, + GLenum modeA) +{ + GET_CURRENT_CONTEXT(ctx); + blend_equation_separatei(ctx, buf, modeRGB, modeA); +} + + /** * Set separate blend equations for one color buffer/target. */ diff --git a/src/mesa/main/blend.h b/src/mesa/main/blend.h index 199345df600..54b9ce6e1b1 100644 --- a/src/mesa/main/blend.h +++ b/src/mesa/main/blend.h @@ -76,6 +76,9 @@ extern void GLAPIENTRY _mesa_BlendEquationSeparate( GLenum modeRGB, GLenum modeA ); +extern void GLAPIENTRY +_mesa_BlendEquationSeparateiARB_no_error(GLuint buf, GLenum modeRGB, + GLenum modeA); extern void GLAPIENTRY _mesa_BlendEquationSeparateiARB(GLuint buf, GLenum modeRGB, GLenum modeA); -- cgit v1.2.3