diff options
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 |