diff options
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h index 235c8e56731..f1ecfcdb351 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.h +++ b/src/gallium/drivers/freedreno/freedreno_context.h @@ -519,6 +519,7 @@ fd_context_switch_to(struct fd_context *ctx, struct fd_batch *batch) { if (ctx->in_fence_fd != -1) { sync_accumulate("freedreno", &batch->in_fence_fd, ctx->in_fence_fd); + close(ctx->in_fence_fd); ctx->in_fence_fd = -1; } } |