mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
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:
parent
4ded964fed
commit
71064d34aa
3 changed files with 12 additions and 1 deletions
|
|
@ -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 -->
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue