diff options
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/syncobj.c | 8 | ||||
-rw-r--r-- | src/mesa/main/syncobj.h | 3 |
2 files changed, 11 insertions, 0 deletions
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 @@ -256,6 +256,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) { GET_CURRENT_CONTEXT(ctx); diff --git a/src/mesa/main/syncobj.h b/src/mesa/main/syncobj.h index 7d1bed530c8..79cb0d26adb 100644 --- a/src/mesa/main/syncobj.h +++ b/src/mesa/main/syncobj.h @@ -57,6 +57,9 @@ _mesa_unref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj, extern GLboolean GLAPIENTRY _mesa_IsSync(GLsync sync); +void GLAPIENTRY +_mesa_DeleteSync_no_error(GLsync sync); + extern void GLAPIENTRY _mesa_DeleteSync(GLsync sync); |