Skip to content

Commit

Permalink
[dxgi] Fix IDXGISwapchain::CheckColorSpaceSuport
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKristian-Work authored and doitsujin committed Nov 28, 2022
1 parent 7644776 commit 42332f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dxgi/dxgi_swapchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,9 @@ namespace dxvk {
if (!pColorSpaceSupport)
return E_INVALIDARG;

return m_presenter->CheckColorSpaceSupport(ColorSpace);
UINT support = m_presenter->CheckColorSpaceSupport(ColorSpace);
*pColorSpaceSupport = support;
return S_OK;
}


Expand Down

0 comments on commit 42332f7

Please sign in to comment.