summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-18 18:18:59 +0200
committerSamuel Pitoiset <[email protected]>2017-07-31 13:53:39 +0200
commitc566ba29b6c456f4b19da704113ad70504879e3f (patch)
tree6f80238541140b30244df52a25be83121d9d7a67 /src/mesa/main/arrayobj.c
parentef22651d7e5303edf5f2ee98a35187b48203a9e0 (diff)
mesa: add KHR_no_error to glDeleteVertexArrays()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/arrayobj.c')
-rw-r--r--src/mesa/main/arrayobj.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 2c95b001a25..29dd93b1c7c 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -500,6 +500,14 @@ delete_vertex_arrays(struct gl_context *ctx, GLsizei n, const GLuint *ids)
void GLAPIENTRY
+_mesa_DeleteVertexArrays_no_error(GLsizei n, const GLuint *ids)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ delete_vertex_arrays(ctx, n, ids);
+}
+
+
+void GLAPIENTRY
_mesa_DeleteVertexArrays(GLsizei n, const GLuint *ids)
{
GET_CURRENT_CONTEXT(ctx);