mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02: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"/>
|
<param name="mode" type="GLenum"/>
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="EndConditionalRender">
|
<function name="EndConditionalRender" no_error="true">
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<!-- These functions alias ones from GL_EXT_gpu_shader4 -->
|
<!-- 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
|
void APIENTRY
|
||||||
_mesa_EndConditionalRender(void)
|
_mesa_EndConditionalRender(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,9 @@ _mesa_BeginConditionalRender_no_error(GLuint queryId, GLenum mode);
|
||||||
extern void GLAPIENTRY
|
extern void GLAPIENTRY
|
||||||
_mesa_BeginConditionalRender(GLuint queryId, GLenum mode);
|
_mesa_BeginConditionalRender(GLuint queryId, GLenum mode);
|
||||||
|
|
||||||
|
void APIENTRY
|
||||||
|
_mesa_EndConditionalRender_no_error(void);
|
||||||
|
|
||||||
extern void APIENTRY
|
extern void APIENTRY
|
||||||
_mesa_EndConditionalRender(void);
|
_mesa_EndConditionalRender(void);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue