Commit 2bc0e14a authored by David Reid's avatar David Reid

Minor clarifying comment.

parent b348ab01
......@@ -70414,6 +70414,9 @@ static ma_result ma_resource_manager_data_buffer_node_acquire_critical_section(m
/*
Fences were acquired before posting the job, but since the job was not able to
be posted, we need to make sure we release them so nothing gets stuck waiting.
In the WAIT_INIT case, these will have already been released in ma_job_process()
so we should only release fences in this branch.
*/
if (pInitFence != NULL) { ma_fence_release(pInitFence); }
if (pDoneFence != NULL) { ma_fence_release(pDoneFence); }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment