Skip to content

Commit

Permalink
Update DirectX frame synchronization to align with Vulkan and Metal
Browse files Browse the repository at this point in the history
  • Loading branch information
egorodet committed Dec 27, 2024
1 parent 7fc13fd commit 690ccfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void RenderContext::WaitForGpu(WaitFor wait_for)
default: META_UNEXPECTED(wait_for);
}

GetDirectDefaultCommandQueue(cl_type).CompleteExecution(frame_buffer_index);
GetDirectDefaultCommandQueue(cl_type).WaitUntilCompleted(frame_buffer_index);
}

void RenderContext::Release()
Expand Down

0 comments on commit 690ccfd

Please sign in to comment.