From 667a6e812283fa3f2db84ca06197cdf6f58f0c6d Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 18 Jul 2017 11:27:00 +0200 Subject: mesa: add KHR_no_error support to glDeleteSync() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- src/mesa/main/syncobj.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/main/syncobj.c') diff --git a/src/mesa/main/syncobj.c b/src/mesa/main/syncobj.c index 6f7bfab42d3..84f920bf147 100644 --- a/src/mesa/main/syncobj.c +++ b/src/mesa/main/syncobj.c @@ -255,6 +255,14 @@ delete_sync(struct gl_context *ctx, GLsync sync, bool no_error) } +void GLAPIENTRY +_mesa_DeleteSync_no_error(GLsync sync) +{ + GET_CURRENT_CONTEXT(ctx); + delete_sync(ctx, sync, true); +} + + void GLAPIENTRY _mesa_DeleteSync(GLsync sync) { -- cgit v1.2.3