diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-27 16:05:40 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-07-28 11:20:34 +0200 |
commit | ca4d1def392249209a5980fadb1678ffba95b381 (patch) | |
tree | 80082a929a7caa49cc0d0bce218b6ea8e0a43f13 /src/mesa/main/syncobj.c | |
parent | 28c7fbbe0fbd5c06db523140929f572e9c6e9dbe (diff) |
mesa: drop fence type parameter from NewSyncObject()
This is useless.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/syncobj.c')
-rw-r--r-- | src/mesa/main/syncobj.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/syncobj.c b/src/mesa/main/syncobj.c index 9c165314bf3..1b223e5a164 100644 --- a/src/mesa/main/syncobj.c +++ b/src/mesa/main/syncobj.c @@ -69,11 +69,10 @@ #include "syncobj.h" static struct gl_sync_object * -_mesa_new_sync_object(struct gl_context *ctx, GLenum type) +_mesa_new_sync_object(struct gl_context *ctx) { struct gl_sync_object *s = CALLOC_STRUCT(gl_sync_object); (void) ctx; - (void) type; return s; } @@ -263,7 +262,7 @@ fence_sync(struct gl_context *ctx, GLenum condition, GLbitfield flags) { struct gl_sync_object *syncObj; - syncObj = ctx->Driver.NewSyncObject(ctx, GL_SYNC_FENCE); + syncObj = ctx->Driver.NewSyncObject(ctx); if (syncObj != NULL) { syncObj->Type = GL_SYNC_FENCE; /* The name is not currently used, and it is never visible to |