We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2480c76 commit 5ac80a0Copy full SHA for 5ac80a0
1 file changed
GPU/GPUTracking/display/GPUDisplayBackendVulkan.cxx
@@ -443,12 +443,6 @@ void GPUDisplayBackendVulkan::createDevice()
443
bestScore = score;
444
}
445
446
- if (mDisplay->cfg().vulkan.forceDevice != -1) {
447
- if (mDisplay->cfg().vulkan.forceDevice < 0 || mDisplay->cfg().vulkan.forceDevice >= (int32_t)devices.size()) {
448
- throw std::runtime_error("Invalid Vulkan device selected");
449
- }
450
- mPhysicalDevice = devices[mDisplay->cfg().vulkan.forceDevice];
451
452
if (!mPhysicalDevice) {
453
throw std::runtime_error("All available Vulkan devices unsuited");
454
0 commit comments