mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +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(
|
||||
backBufferFmt,
|
||||
pPresentationParameters->Windowed)) {
|
||||
Logger::err("D3D9DeviceEx::ResetSwapChain: Unsupported backbuffer format.");
|
||||
Logger::err(str::format("D3D9DeviceEx::ResetSwapChain: Unsupported backbuffer format: ",
|
||||
EnumerateFormat(pPresentationParameters->BackBufferFormat)));
|
||||
return D3DERR_INVALIDCALL;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user