mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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
|
// We can't really reconstruct the version numbers
|
||||||
// returned by Windows drivers from Vulkan data
|
// returned by Windows drivers from Vulkan data
|
||||||
if (pUMDVersion)
|
if (SUCCEEDED(hr) && pUMDVersion)
|
||||||
pUMDVersion->QuadPart = SUCCEEDED(hr) ? ~0ull : 0ull;
|
pUMDVersion->QuadPart = ~0ull;
|
||||||
|
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
Logger::err("DXGI: CheckInterfaceSupport: Unsupported interface");
|
Logger::err("DXGI: CheckInterfaceSupport: Unsupported interface");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user