mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[d3d9] Log unavailable backbuffer format if encountered when resetting swapchain
This commit is contained in:
parent
3abd30bb96
commit
3b119c0be6
@ -6469,7 +6469,8 @@ namespace dxvk {
|
|||||||
if (!IsSupportedBackBufferFormat(
|
if (!IsSupportedBackBufferFormat(
|
||||||
backBufferFmt,
|
backBufferFmt,
|
||||||
pPresentationParameters->Windowed)) {
|
pPresentationParameters->Windowed)) {
|
||||||
Logger::err("D3D9DeviceEx::ResetSwapChain: Unsupported backbuffer format.");
|
Logger::err(str::format("D3D9DeviceEx::ResetSwapChain: Unsupported backbuffer format: ",
|
||||||
|
EnumerateFormat(pPresentationParameters->BackBufferFormat)));
|
||||||
return D3DERR_INVALIDCALL;
|
return D3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user