Skip to content

Commit

Permalink
Changed the order of arguments (to match the book text)
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Feb 26, 2024
1 parent 798d884 commit 36a5820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lvk/vulkan/VulkanClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4498,7 +4498,7 @@ uint32_t lvk::VulkanContext::queryDevices(HWDeviceType deviceType, HWDeviceDesc*
const HWDeviceType deviceType = convertVulkanDeviceTypeToIGL(deviceProperties.deviceType);

// filter non-suitable hardware devices
if (desiredDeviceType != HWDeviceType_Software && deviceType != desiredDeviceType) {
if (desiredDeviceType != HWDeviceType_Software && desiredDeviceType != deviceType) {
continue;
}

Expand Down

0 comments on commit 36a5820

Please sign in to comment.