aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-05-31 12:42:39 +0200
committerSamuel Pitoiset <[email protected]>2017-06-07 11:03:47 +0200
commit2933ed56cef8804be4179d68704614735b92fee4 (patch)
tree881d54b57d7c9046ae191b66c32e7f5dbcf01f64 /src/mesa/main/varray.c
parent5da83140dfdb1c6109f061ec28ba5f0e705dd09e (diff)
mesa: add KHR_no_error support for glBindVertexBuffers()
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.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 0cc8b56c641..a08b11fcf8d 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -2249,6 +2249,19 @@ vertex_array_vertex_buffers_err(struct gl_context *ctx,
void GLAPIENTRY
+_mesa_BindVertexBuffers_no_error(GLuint first, GLsizei count,
+ const GLuint *buffers, const GLintptr *offsets,
+ const GLsizei *strides)
+{
+ GET_CURRENT_CONTEXT(ctx);
+
+ vertex_array_vertex_buffers(ctx, ctx->Array.VAO, first, count,
+ buffers, offsets, strides, true,
+ "glBindVertexBuffers");
+}
+
+
+void GLAPIENTRY
_mesa_BindVertexBuffers(GLuint first, GLsizei count, const GLuint *buffers,
const GLintptr *offsets, const GLsizei *strides)
{