From: Timothy Arceri Date: Mon, 15 May 2017 00:51:34 +0000 (+1000) Subject: mesa: add KHR_no_error support for glBlendEquationSeparateiARB() X-Git-Tag: upstream/18.1.0~9715 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25591adc286a217ee344d17d277c81ba9e6d353b;p=platform%2Fupstream%2Fmesa.git mesa: add KHR_no_error support for glBlendEquationSeparateiARB() Reviewed-by: Nicolai Hähnle --- diff --git a/src/mapi/glapi/gen/ARB_draw_buffers_blend.xml b/src/mapi/glapi/gen/ARB_draw_buffers_blend.xml index 4d44adf..1a44f38 100644 --- a/src/mapi/glapi/gen/ARB_draw_buffers_blend.xml +++ b/src/mapi/glapi/gen/ARB_draw_buffers_blend.xml @@ -13,7 +13,7 @@ - + diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c index e91c14a..8c763ed 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 199345d..54b9ce6 100644 --- a/src/mesa/main/blend.h +++ b/src/mesa/main/blend.h @@ -77,6 +77,9 @@ _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);