diff options
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_context.c')
-rw-r--r-- | src/gallium/drivers/ddebug/dd_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ddebug/dd_context.c b/src/gallium/drivers/ddebug/dd_context.c index 109d64259b2..a52975d8cb2 100644 --- a/src/gallium/drivers/ddebug/dd_context.c +++ b/src/gallium/drivers/ddebug/dd_context.c @@ -596,7 +596,7 @@ dd_context_destroy(struct pipe_context *_pipe) if (dctx->thread) { mtx_lock(&dctx->mutex); dctx->kill_thread = 1; - pipe_mutex_unlock(dctx->mutex); + mtx_unlock(&dctx->mutex); pipe_thread_wait(dctx->thread); mtx_destroy(&dctx->mutex); assert(!dctx->records); |