mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 14:38:06 +02:00
mesa: add KHR_no_error support for glBindVertexBuffers()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
5da83140df
commit
2933ed56ce
3 changed files with 19 additions and 1 deletions
|
|
@ -41,7 +41,7 @@
|
|||
<param name="textures" type="const GLuint *"/>
|
||||
</function>
|
||||
|
||||
<function name="BindVertexBuffers">
|
||||
<function name="BindVertexBuffers" no_error="true">
|
||||
<param name="first" type="GLuint"/>
|
||||
<param name="count" type="GLsizei"/>
|
||||
<param name="buffers" type="const GLuint *"/>
|
||||
|
|
|
|||
|
|
@ -2248,6 +2248,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)
|
||||
|
|
|
|||
|
|
@ -375,6 +375,11 @@ extern void GLAPIENTRY
|
|||
_mesa_VertexArrayVertexBuffer(GLuint vaobj, GLuint bindingIndex, GLuint buffer,
|
||||
GLintptr offset, GLsizei stride);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindVertexBuffers_no_error(GLuint first, GLsizei count,
|
||||
const GLuint *buffers, const GLintptr *offsets,
|
||||
const GLsizei *strides);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_BindVertexBuffers(GLuint first, GLsizei count, const GLuint *buffers,
|
||||
const GLintptr *offsets, const GLsizei *strides);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue