summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-06-28 13:47:42 +1000
committerTimothy Arceri <[email protected]>2017-06-29 08:54:10 +1000
commit8e77fceedbd2b030906bacc7c524a77997ae11a1 (patch)
tree9fa93bec38debe2e24ec0e626fc6b4d327d94440 /src/mesa/main
parentccbcb3ca17d68358f1c75a9440e4062785723f90 (diff)
mesa: add KHR_no_error support for glLogicOp()
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/blend.c8
-rw-r--r--src/mesa/main/blend.h4
2 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/main/blend.c b/src/mesa/main/blend.c
index 541c24852d5..3fa9678730d 100644
--- a/src/mesa/main/blend.c
+++ b/src/mesa/main/blend.c
@@ -816,6 +816,14 @@ _mesa_LogicOp( GLenum opcode )
void GLAPIENTRY
+_mesa_LogicOp_no_error(GLenum opcode)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ logic_op(ctx, opcode);
+}
+
+
+void GLAPIENTRY
_mesa_IndexMask( GLuint mask )
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/blend.h b/src/mesa/main/blend.h
index 675e50d3886..b0a8cbd200b 100644
--- a/src/mesa/main/blend.h
+++ b/src/mesa/main/blend.h
@@ -98,6 +98,10 @@ _mesa_LogicOp( GLenum opcode );
extern void GLAPIENTRY
+_mesa_LogicOp_no_error(GLenum opcode);
+
+
+extern void GLAPIENTRY
_mesa_IndexMask( GLuint mask );
extern void GLAPIENTRY