mesa: add KHR_no_error support to glEndConditionalRender()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Samuel Pitoiset 2017-07-20 11:10:41 +02:00
parent 4ded964fed
commit 71064d34aa
3 changed files with 12 additions and 1 deletions

View file

@ -251,7 +251,7 @@
<param name="mode" type="GLenum"/>
</function>
<function name="EndConditionalRender">
<function name="EndConditionalRender" no_error="true">
</function>
<!-- These functions alias ones from GL_EXT_gpu_shader4 -->

View file

@ -146,6 +146,14 @@ end_conditional_render(struct gl_context *ctx)
}
void APIENTRY
_mesa_EndConditionalRender_no_error(void)
{
GET_CURRENT_CONTEXT(ctx);
end_conditional_render(ctx);
}
void APIENTRY
_mesa_EndConditionalRender(void)
{

View file

@ -37,6 +37,9 @@ _mesa_BeginConditionalRender_no_error(GLuint queryId, GLenum mode);
extern void GLAPIENTRY
_mesa_BeginConditionalRender(GLuint queryId, GLenum mode);
void APIENTRY
_mesa_EndConditionalRender_no_error(void);
extern void APIENTRY
_mesa_EndConditionalRender(void);