diff options
Diffstat (limited to 'src/vulkan')
-rw-r--r-- | src/vulkan/device-select-layer/device_select_layer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/device-select-layer/device_select_layer.c b/src/vulkan/device-select-layer/device_select_layer.c index 19867263907..29ce29eda78 100644 --- a/src/vulkan/device-select-layer/device_select_layer.c +++ b/src/vulkan/device-select-layer/device_select_layer.c @@ -290,7 +290,7 @@ static int device_select_find_dri_prime_tag_default(struct device_pci_info *pci_ pci_infos[i].bus_info.bus, pci_infos[i].bus_info.dev, pci_infos[i].bus_info.func) >= 0) { - if (strcmp(dri_prime, tag)) + if (strcmp(dri_prime, tag) == 0) default_idx = i; } free(tag); |