Commit 5a1283a3 authored by Philip Rebohle's avatar Philip Rebohle Committed by Alexandre Julliard

dxgi: Improve the d3d12_swapchain_SetColorSpace1() stub.

parent d9c69cbc
......@@ -2703,9 +2703,15 @@ static HRESULT STDMETHODCALLTYPE d3d12_swapchain_CheckColorSpaceSupport(IDXGISwa
static HRESULT STDMETHODCALLTYPE d3d12_swapchain_SetColorSpace1(IDXGISwapChain3 *iface,
DXGI_COLOR_SPACE_TYPE colour_space)
{
FIXME("iface %p, colour_space %#x stub!\n", iface, colour_space);
FIXME("iface %p, colour_space %#x semi-stub!\n", iface, colour_space);
return E_NOTIMPL;
if (colour_space != DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709)
{
WARN("Colour space %u not supported.\n", colour_space);
return E_INVALIDARG;
}
return S_OK;
}
static HRESULT STDMETHODCALLTYPE d3d12_swapchain_ResizeBuffers1(IDXGISwapChain3 *iface,
......
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