mesa: add KHR_no_error support to glBindBufferOffsetEXT()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
dc058f850c
commit
fff1327547
|
@ -32,7 +32,7 @@
|
|||
<param name="size" type="GLsizeiptr"/>
|
||||
</function>
|
||||
|
||||
<function name="BindBufferOffsetEXT">
|
||||
<function name="BindBufferOffsetEXT" no_error="true">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="index" type="GLuint"/>
|
||||
<param name="buffer" type="GLuint"/>
|
||||
|
|
|
@ -801,6 +801,16 @@ bind_buffer_offset(struct gl_context *ctx,
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindBufferOffsetEXT_no_error(GLenum target, GLuint index, GLuint buffer,
|
||||
GLintptr offset)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
bind_buffer_offset(ctx, ctx->TransformFeedback.CurrentObject, index, buffer,
|
||||
offset, true);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindBufferOffsetEXT(GLenum target, GLuint index, GLuint buffer,
|
||||
GLintptr offset)
|
||||
|
|
|
@ -78,6 +78,10 @@ _mesa_bind_buffer_base_transform_feedback(struct gl_context *ctx,
|
|||
struct gl_buffer_object *bufObj,
|
||||
bool dsa);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindBufferOffsetEXT_no_error(GLenum target, GLuint index, GLuint buffer,
|
||||
GLintptr offset);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_BindBufferOffsetEXT(GLenum target, GLuint index, GLuint buffer,
|
||||
GLintptr offset);
|
||||
|
|
Loading…
Reference in New Issue