diff options
author | Brian Paul <[email protected]> | 2013-09-14 10:04:51 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-10-01 10:10:01 -0600 |
commit | 755602df12cab123b8927e8d71b199b73e48b71b (patch) | |
tree | d646023e2230dc28c6f34a578e0d41b9a561e446 /src/mesa/main/syncobj.h | |
parent | 79a03068cdde14c491894d44ee713ab5d08a9aca (diff) |
mesa: minor fix-ups for _mesa_validate_sync()
Return bool instead of int. Const-qualify the syncObj. Add some comments.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/syncobj.h')
-rw-r--r-- | src/mesa/main/syncobj.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/syncobj.h b/src/mesa/main/syncobj.h index 025a9b132d4..5d510e873a9 100644 --- a/src/mesa/main/syncobj.h +++ b/src/mesa/main/syncobj.h @@ -53,8 +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 bool +_mesa_validate_sync(struct gl_context *ctx, + const struct gl_sync_object *syncObj); extern GLboolean GLAPIENTRY _mesa_IsSync(GLsync sync); |