mesa: add KHR_no_error to glBindVertexArray()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<enum name="VERTEX_ARRAY_BINDING" value="0x85B5"/>
|
<enum name="VERTEX_ARRAY_BINDING" value="0x85B5"/>
|
||||||
|
|
||||||
<function name="BindVertexArray" es2="3.0"
|
<function name="BindVertexArray" es2="3.0" no_error="true"
|
||||||
marshal_fail="_mesa_glthread_is_compat_bind_vertex_array(ctx)">
|
marshal_fail="_mesa_glthread_is_compat_bind_vertex_array(ctx)">
|
||||||
<param name="array" type="GLuint"/>
|
<param name="array" type="GLuint"/>
|
||||||
</function>
|
</function>
|
||||||
|
@@ -444,6 +444,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
|
void GLAPIENTRY
|
||||||
_mesa_BindVertexArray(GLuint id)
|
_mesa_BindVertexArray(GLuint id)
|
||||||
{
|
{
|
||||||
|
@@ -94,6 +94,9 @@ _mesa_all_buffers_are_unmapped(const struct gl_vertex_array_object *vao);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
void GLAPIENTRY
|
||||||
|
_mesa_BindVertexArray_no_error(GLuint id);
|
||||||
|
|
||||||
void GLAPIENTRY _mesa_BindVertexArray( GLuint id );
|
void GLAPIENTRY _mesa_BindVertexArray( GLuint id );
|
||||||
|
|
||||||
void GLAPIENTRY _mesa_DeleteVertexArrays(GLsizei n, const GLuint *ids);
|
void GLAPIENTRY _mesa_DeleteVertexArrays(GLsizei n, const GLuint *ids);
|
||||||
|
Reference in New Issue
Block a user