diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-18 18:11:26 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-31 13:53:39 +0200 |
commit | 4b0a33d233469fd646852b7d783d5170113dd629 (patch) | |
tree | 305256352e7fc2de737b7374f859203b891892fc /src/mesa/main/arrayobj.c | |
parent | 81fa33171d041491fd262238ce299404ab4fac25 (diff) |
mesa: add KHR_no_error to glBindVertexArray()
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.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c index fcc7990ef0d..77c0206ecfd 100644 --- a/src/mesa/main/arrayobj.c +++ b/src/mesa/main/arrayobj.c @@ -445,6 +445,14 @@ bind_vertex_array(struct gl_context *ctx, GLuint id, bool no_error) void GLAPIENTRY +_mesa_BindVertexArray_no_error(GLuint id) +{ + GET_CURRENT_CONTEXT(ctx); + bind_vertex_array(ctx, id, true); +} + + +void GLAPIENTRY _mesa_BindVertexArray(GLuint id) { GET_CURRENT_CONTEXT(ctx); |