diff --git a/src/d3d9/d3d9_adapter.cpp b/src/d3d9/d3d9_adapter.cpp index 80941fe4..4c7821d4 100644 --- a/src/d3d9/d3d9_adapter.cpp +++ b/src/d3d9/d3d9_adapter.cpp @@ -90,7 +90,7 @@ namespace dxvk { D3D9Format AdapterFormat, D3D9Format BackBufferFormat, BOOL bWindowed) { - if (!IsSupportedAdapterFormat(AdapterFormat, bWindowed)) + if (!IsSupportedAdapterFormat(AdapterFormat, bWindowed) && !bWindowed) return D3DERR_NOTAVAILABLE; if (!IsSupportedBackBufferFormat(BackBufferFormat, bWindowed)) @@ -214,9 +214,6 @@ namespace dxvk { D3D9Format AdapterFormat, D3D9Format RenderTargetFormat, D3D9Format DepthStencilFormat) { - if (!IsSupportedAdapterFormat(AdapterFormat, false)) - return D3DERR_NOTAVAILABLE; - if (!IsDepthFormat(DepthStencilFormat)) return D3DERR_NOTAVAILABLE;