summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/zink/zink_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/drivers/zink/zink_query.c')
-rw-r--r--lib/mesa/src/gallium/drivers/zink/zink_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/drivers/zink/zink_query.c b/lib/mesa/src/gallium/drivers/zink/zink_query.c
index 67ac1f915..e9dc921c2 100644
--- a/lib/mesa/src/gallium/drivers/zink/zink_query.c
+++ b/lib/mesa/src/gallium/drivers/zink/zink_query.c
@@ -1070,8 +1070,8 @@ zink_resume_queries(struct zink_context *ctx, struct zink_batch *batch)
{
struct zink_query *query, *next;
LIST_FOR_EACH_ENTRY_SAFE(query, next, &ctx->suspended_queries, active_list) {
- begin_query(ctx, batch, query);
list_delinit(&query->active_list);
+ begin_query(ctx, batch, query);
}
}