Skip to content

Commit

Permalink
[dxvk] Fix Nvidia driver version reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
doitsujin committed Apr 17, 2018
1 parent 669df21 commit 05a96e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dxvk/dxvk_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ namespace dxvk {
if (DxvkGpuVendor(properties.vendorID) == DxvkGpuVendor::Nvidia) {
properties.driverVersion = VK_MAKE_VERSION(
VK_VERSION_MAJOR(properties.driverVersion),
VK_VERSION_MINOR(properties.driverVersion) >> 2,
VK_VERSION_PATCH(properties.driverVersion));
VK_VERSION_MINOR(properties.driverVersion >> 0) >> 2,
VK_VERSION_PATCH(properties.driverVersion >> 2) >> 4);
}

return properties;
Expand Down

0 comments on commit 05a96e9

Please sign in to comment.