aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blend.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-19 09:53:49 +0200
committerSamuel Pitoiset <[email protected]>2017-07-31 13:53:39 +0200
commitd5d01193f43aeb0cf7ab58f58c614ecc142398eb (patch)
tree7a9ad118d71324426ca01dc939936e0f35a964d8 /src/mesa/main/blend.c
parent4141fab9ed41705a2bfba731906b9a23c4676944 (diff)
mesa: add KHR_no_error support to glBlendEquationSeparate()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/blend.c')
-rw-r--r--src/mesa/main/blend.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
index 2c13f190049..9ca04c1db29 100644
--- a/src/mesa/main/blend.c
+++ b/src/mesa/main/blend.c
@@ -673,6 +673,14 @@ blend_equation_separate(struct gl_context *ctx, GLenum modeRGB, GLenum modeA,
void GLAPIENTRY
+_mesa_BlendEquationSeparate_no_error(GLenum modeRGB, GLenum modeA)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ blend_equation_separate(ctx, modeRGB, modeA, true);
+}
+
+
+void GLAPIENTRY
_mesa_BlendEquationSeparate(GLenum modeRGB, GLenum modeA)
{
GET_CURRENT_CONTEXT(ctx);