mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[dxgi] Fix CheckInterfaceSupport UMD version writeback
Fixes a wine test failure.
This commit is contained in:
parent
cd82669a85
commit
1e00f8046c
@ -115,8 +115,8 @@ namespace dxvk {
|
||||
|
||||
// We can't really reconstruct the version numbers
|
||||
// returned by Windows drivers from Vulkan data
|
||||
if (pUMDVersion)
|
||||
pUMDVersion->QuadPart = SUCCEEDED(hr) ? ~0ull : 0ull;
|
||||
if (SUCCEEDED(hr) && pUMDVersion)
|
||||
pUMDVersion->QuadPart = ~0ull;
|
||||
|
||||
if (FAILED(hr)) {
|
||||
Logger::err("DXGI: CheckInterfaceSupport: Unsupported interface");
|
||||
|
Loading…
Reference in New Issue
Block a user