From: Timothy Arceri Date: Mon, 26 Aug 2013 07:45:06 +0000 (+1000) Subject: mesa: make _mesa_validate_sync() non-static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21b5bf712b47e03d21dfa2c93acb272b9b575fe7;p=mesa.git mesa: make _mesa_validate_sync() non-static Signed-off-by: Timothy Arceri Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/syncobj.c b/src/mesa/main/syncobj.c index e4264741ae0..92c7cb0e149 100644 --- a/src/mesa/main/syncobj.c +++ b/src/mesa/main/syncobj.c @@ -161,7 +161,7 @@ _mesa_free_sync_data(struct gl_context *ctx) } -static int +int _mesa_validate_sync(struct gl_context *ctx, struct gl_sync_object *syncObj) { return (syncObj != NULL) diff --git a/src/mesa/main/syncobj.h b/src/mesa/main/syncobj.h index faa3f558dea..025a9b132d4 100644 --- a/src/mesa/main/syncobj.h +++ b/src/mesa/main/syncobj.h @@ -53,6 +53,9 @@ _mesa_ref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj); extern void _mesa_unref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj); +extern int +_mesa_validate_sync(struct gl_context *ctx, struct gl_sync_object *syncObj); + extern GLboolean GLAPIENTRY _mesa_IsSync(GLsync sync);