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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user