mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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 AdapterFormat,
|
||||||
D3D9Format BackBufferFormat,
|
D3D9Format BackBufferFormat,
|
||||||
BOOL bWindowed) {
|
BOOL bWindowed) {
|
||||||
if (!IsSupportedAdapterFormat(AdapterFormat, bWindowed))
|
if (!IsSupportedAdapterFormat(AdapterFormat, bWindowed) && !bWindowed)
|
||||||
return D3DERR_NOTAVAILABLE;
|
return D3DERR_NOTAVAILABLE;
|
||||||
|
|
||||||
if (!IsSupportedBackBufferFormat(BackBufferFormat, bWindowed))
|
if (!IsSupportedBackBufferFormat(BackBufferFormat, bWindowed))
|
||||||
@ -214,9 +214,6 @@ namespace dxvk {
|
|||||||
D3D9Format AdapterFormat,
|
D3D9Format AdapterFormat,
|
||||||
D3D9Format RenderTargetFormat,
|
D3D9Format RenderTargetFormat,
|
||||||
D3D9Format DepthStencilFormat) {
|
D3D9Format DepthStencilFormat) {
|
||||||
if (!IsSupportedAdapterFormat(AdapterFormat, false))
|
|
||||||
return D3DERR_NOTAVAILABLE;
|
|
||||||
|
|
||||||
if (!IsDepthFormat(DepthStencilFormat))
|
if (!IsDepthFormat(DepthStencilFormat))
|
||||||
return D3DERR_NOTAVAILABLE;
|
return D3DERR_NOTAVAILABLE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user