Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKristian-Work authored Feb 23, 2024
1 parent 5455374 commit 804c3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/vkd3d/swapchain.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ static ULONG STDMETHODCALLTYPE dxgi_vk_swap_chain_Release(IDXGIVkSwapChain *ifac
if (device->vk_info.NV_low_latency2)
d3d12_device_remove_swapchain(device, chain);

dxgi_vk_swap_chain_decref(chain);
ID3D12CommandQueue_Release(&chain->queue->ID3D12CommandQueue_iface);
dxgi_vk_swap_chain_decref(chain);
}

return refcount;
Expand Down

0 comments on commit 804c3df

Please sign in to comment.