From d88d60ab1d1992a59c7ed6c97b6d6c6990671067 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 19 Jul 2017 15:45:01 +0200 Subject: mesa: add KHR_no_error support to glVertexArrayElementBuffer() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/arrayobj.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/main/arrayobj.c') diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c index 89fa473ff87..600177cc5c9 100644 --- a/src/mesa/main/arrayobj.c +++ b/src/mesa/main/arrayobj.c @@ -686,6 +686,14 @@ vertex_array_element_buffer(struct gl_context *ctx, GLuint vaobj, GLuint buffer, } +void GLAPIENTRY +_mesa_VertexArrayElementBuffer_no_error(GLuint vaobj, GLuint buffer) +{ + GET_CURRENT_CONTEXT(ctx); + vertex_array_element_buffer(ctx, vaobj, buffer, true); +} + + void GLAPIENTRY _mesa_VertexArrayElementBuffer(GLuint vaobj, GLuint buffer) { -- cgit v1.2.3