[vulkan] Break when desired layer is found (#6403)
This commit is contained in:
@@ -148,6 +148,7 @@ VulkanDriver::VulkanDriver(VulkanPlatform* platform,
|
||||
const std::string_view availableLayer(layer.layerName);
|
||||
if (availableLayer == desired) {
|
||||
enabledLayers.push_back(desired.data());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user