mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
mesa: add KHR_no_error support to glBindTransformFeedback()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
efb9811680
commit
b0590ace75
3 changed files with 12 additions and 1 deletions
|
|
@ -82,7 +82,7 @@
|
|||
<enum name="TRANSFORM_FEEDBACK_BUFFER_ACTIVE" value="0x8E24"/>
|
||||
<enum name="TRANSFORM_FEEDBACK_BINDING" value="0x8E25"/>
|
||||
|
||||
<function name="BindTransformFeedback" es2="3.0">
|
||||
<function name="BindTransformFeedback" es2="3.0" no_error="true">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="id" type="GLuint"/>
|
||||
</function>
|
||||
|
|
|
|||
|
|
@ -1079,6 +1079,14 @@ bind_transform_feedback(struct gl_context *ctx, GLuint name, bool no_error)
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindTransformFeedback_no_error(GLenum target, GLuint name)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
bind_transform_feedback(ctx, name, true);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindTransformFeedback(GLenum target, GLuint name)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -105,6 +105,9 @@ _mesa_CreateTransformFeedbacks(GLsizei n, GLuint *names);
|
|||
extern GLboolean GLAPIENTRY
|
||||
_mesa_IsTransformFeedback(GLuint name);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_BindTransformFeedback_no_error(GLenum target, GLuint name);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_BindTransformFeedback(GLenum target, GLuint name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue