mesa: add KHR_no_error support to glVertexArrayElementBuffer()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -594,7 +594,7 @@
|
||||
<param name="index" type="GLuint" />
|
||||
</function>
|
||||
|
||||
<function name="VertexArrayElementBuffer">
|
||||
<function name="VertexArrayElementBuffer" no_error="true">
|
||||
<param name="vaobj" type="GLuint" />
|
||||
<param name="buffer" type="GLuint" />
|
||||
</function>
|
||||
|
@@ -686,6 +686,14 @@ vertex_array_element_buffer(struct gl_context *ctx, GLuint vaobj, GLuint buffer,
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayElementBuffer_no_error(GLuint vaobj, GLuint buffer)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
vertex_array_element_buffer(ctx, vaobj, buffer, true);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayElementBuffer(GLuint vaobj, GLuint buffer)
|
||||
{
|
||||
|
@@ -116,6 +116,9 @@ void GLAPIENTRY _mesa_CreateVertexArrays(GLsizei n, GLuint *arrays);
|
||||
|
||||
GLboolean GLAPIENTRY _mesa_IsVertexArray( GLuint id );
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexArrayElementBuffer_no_error(GLuint vaobj, GLuint buffer);
|
||||
|
||||
void GLAPIENTRY _mesa_VertexArrayElementBuffer(GLuint vaobj, GLuint buffer);
|
||||
|
||||
void GLAPIENTRY _mesa_GetVertexArrayiv(GLuint vaobj, GLenum pname, GLint *param);
|
||||
|
Reference in New Issue
Block a user