[PATCH 3/6] dxgi: Wake the condition variable after leaving the critical section in d3d12_swapchain_present().