mesa: add KHR_no_error to glDeleteVertexArrays()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<param name="array" type="GLuint"/>
|
||||
</function>
|
||||
|
||||
<function name="DeleteVertexArrays" es2="3.0">
|
||||
<function name="DeleteVertexArrays" es2="3.0" no_error="true">
|
||||
<param name="n" type="GLsizei"/>
|
||||
<param name="arrays" type="const GLuint *" count="n"/>
|
||||
</function>
|
||||
|
@@ -499,6 +499,14 @@ delete_vertex_arrays(struct gl_context *ctx, GLsizei n, const GLuint *ids)
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DeleteVertexArrays_no_error(GLsizei n, const GLuint *ids)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
delete_vertex_arrays(ctx, n, ids);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DeleteVertexArrays(GLsizei n, const GLuint *ids)
|
||||
{
|
||||
|
@@ -99,6 +99,9 @@ _mesa_BindVertexArray_no_error(GLuint id);
|
||||
|
||||
void GLAPIENTRY _mesa_BindVertexArray( GLuint id );
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DeleteVertexArrays_no_error(GLsizei n, const GLuint *ids);
|
||||
|
||||
void GLAPIENTRY _mesa_DeleteVertexArrays(GLsizei n, const GLuint *ids);
|
||||
|
||||
void GLAPIENTRY
|
||||
|
Reference in New Issue
Block a user