Skip to content

Commit

Permalink
[dxgi] Initialize UMD version quad to a max signed int64 (#3985)
Browse files Browse the repository at this point in the history
  • Loading branch information
talkingerbil committed May 3, 2024
1 parent 4333ee8 commit 1fb35b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dxgi/dxgi_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ namespace dxvk {
// We can't really reconstruct the version numbers
// returned by Windows drivers from Vulkan data
if (SUCCEEDED(hr) && pUMDVersion)
pUMDVersion->QuadPart = ~0ull;
pUMDVersion->QuadPart = INT64_MAX;

if (FAILED(hr)) {
Logger::err("DXGI: CheckInterfaceSupport: Unsupported interface");
Expand Down

0 comments on commit 1fb35b6

Please sign in to comment.