summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2013-08-26 17:45:06 +1000
committerBrian Paul <[email protected]>2013-09-04 07:47:49 -0600
commit21b5bf712b47e03d21dfa2c93acb272b9b575fe7 (patch)
treea9cf4ea3ac83debdbdb8352f0aed92f9b38484de /src/mesa/main
parent6d8dd59cf53d2f47b817d79204a52bb3a46e8c77 (diff)
mesa: make _mesa_validate_sync() non-static
Signed-off-by: Timothy Arceri <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/syncobj.c2
-rw-r--r--src/mesa/main/syncobj.h3
2 files changed, 4 insertions, 1 deletions
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);