1
0
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:
Joshua Ashton 2019-12-17 22:33:37 +00:00
parent 3abd30bb96
commit 3b119c0be6

View File

@ -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;
}
}