From a466b742415aeefa3e46356c8a0b7547cc52c377 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 18 Jul 2017 15:35:23 +0200 Subject: mesa: add KHR_no_error support to glVertexBindingDivisor() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/varray.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mesa/main/varray.c') diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index c67396d7e79..9cc995ea55b 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -2711,6 +2711,15 @@ vertex_array_binding_divisor(struct gl_context *ctx, } +void GLAPIENTRY +_mesa_VertexBindingDivisor_no_error(GLuint bindingIndex, GLuint divisor) +{ + GET_CURRENT_CONTEXT(ctx); + vertex_binding_divisor(ctx, ctx->Array.VAO, + VERT_ATTRIB_GENERIC(bindingIndex), divisor); +} + + void GLAPIENTRY _mesa_VertexBindingDivisor(GLuint bindingIndex, GLuint divisor) { -- cgit v1.2.3