diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-18 15:35:23 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-31 13:53:39 +0200 |
commit | a466b742415aeefa3e46356c8a0b7547cc52c377 (patch) | |
tree | 3607e1eb475fdd2414ab42d43698587e80dbd6c2 /src/mesa/main/varray.c | |
parent | 6f4741e32ed66a2f0df4a03e9a874f08ab666412 (diff) |
mesa: add KHR_no_error support to glVertexBindingDivisor()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -2712,6 +2712,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) { GET_CURRENT_CONTEXT(ctx); |