summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blend.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-05-15 10:41:23 +1000
committerTimothy Arceri <[email protected]>2017-05-17 10:12:04 +1000
commit5c8252ba6f7e43c563b7011facbbe4ef013e76c6 (patch)
treefd1a96b9691dd56d3a2aa3fa053215608f04503b /src/mesa/main/blend.c
parentb5c67f469a5e8b406c12c529399d631a887700ee (diff)
mesa: add KHR_no_error support for glBlendFunc*iARB()
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/blend.c')
-rw-r--r--src/mesa/main/blend.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
index ed519bcc0e0..8811ef9a339 100644
--- a/src/mesa/main/blend.c
+++ b/src/mesa/main/blend.c
@@ -282,6 +282,14 @@ _mesa_BlendFuncSeparate( GLenum sfactorRGB, GLenum dfactorRGB,
}
+void GLAPIENTRY
+_mesa_BlendFunciARB_no_error(GLuint buf, GLenum sfactor, GLenum dfactor)
+{
+ _mesa_BlendFuncSeparateiARB_no_error(buf, sfactor, dfactor, sfactor,
+ dfactor);
+}
+
+
/**
* Set blend source/dest factors for one color buffer/target.
*/
@@ -334,6 +342,16 @@ blend_func_separatei(GLuint buf, GLenum sfactorRGB, GLenum dfactorRGB,
}
+void GLAPIENTRY
+_mesa_BlendFuncSeparateiARB_no_error(GLuint buf, GLenum sfactorRGB,
+ GLenum dfactorRGB, GLenum sfactorA,
+ GLenum dfactorA)
+{
+ blend_func_separatei(buf, sfactorRGB, dfactorRGB, sfactorA, dfactorA,
+ true);
+}
+
+
/**
* Set separate blend source/dest factors for one color buffer/target.
*/