mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-18 04:54:15 +01:00
[d3d9] Fix return value for invalid backbuffer formats
This got changed when I saw that the auto depth stencil when set to an unavailable returns D3DERR_NOTAVAILABLE. Turns out if the backbuffer is unavailable it returns D3DERR_INVALIDCALL... Consistent... Closes #1278
This commit is contained in:
parent
a265af74ed
commit
3abd30bb96
@ -6470,7 +6470,7 @@ namespace dxvk {
|
||||
backBufferFmt,
|
||||
pPresentationParameters->Windowed)) {
|
||||
Logger::err("D3D9DeviceEx::ResetSwapChain: Unsupported backbuffer format.");
|
||||
return D3DERR_NOTAVAILABLE;
|
||||
return D3DERR_INVALIDCALL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user