mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
mesa: add KHR_no_error support to glEndTransformFeedback()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
654587696b
commit
08cecec3c0
3 changed files with 12 additions and 1 deletions
|
|
@ -210,7 +210,7 @@
|
|||
<param name="mode" type="GLenum"/>
|
||||
</function>
|
||||
|
||||
<function name="EndTransformFeedback" es2="3.0">
|
||||
<function name="EndTransformFeedback" es2="3.0" no_error="true">
|
||||
</function>
|
||||
|
||||
<function name="BindBufferRange" es2="3.0" no_error="true">
|
||||
|
|
|
|||
|
|
@ -511,6 +511,14 @@ end_transform_feedback(struct gl_context *ctx,
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_EndTransformFeedback_no_error(void)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
end_transform_feedback(ctx, ctx->TransformFeedback.CurrentObject);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_EndTransformFeedback(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -59,6 +59,9 @@ _mesa_BeginTransformFeedback_no_error(GLenum mode);
|
|||
extern void GLAPIENTRY
|
||||
_mesa_BeginTransformFeedback(GLenum mode);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_EndTransformFeedback_no_error(void);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_EndTransformFeedback(void);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue