mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[d3d9] Ignore adapter type for CheckDepthStencilMatch and CheckDeviceType when windowed
This commit is contained in:
parent
8d7bdc5392
commit
ecb3e05cb9
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user