Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
-->
- <function name="FenceSync" es2="3.0">
+ <function name="FenceSync" es2="3.0" no_error="true">
<param name="condition" type="GLenum"/>
<param name="flags" type="GLbitfield"/>
<return type="GLsync"/>
}
+GLsync GLAPIENTRY
+_mesa_FenceSync_no_error(GLenum condition, GLbitfield flags)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ return fence_sync(ctx, condition, flags);
+}
+
+
GLsync GLAPIENTRY
_mesa_FenceSync(GLenum condition, GLbitfield flags)
{
extern void GLAPIENTRY
_mesa_DeleteSync(GLsync sync);
+GLsync GLAPIENTRY
+_mesa_FenceSync_no_error(GLenum condition, GLbitfield flags);
+
extern GLsync GLAPIENTRY
_mesa_FenceSync(GLenum condition, GLbitfield flags);