Device creation failure error message display
This commit is contained in:
parent
1c552a6182
commit
30980623af
1 changed files with 1 additions and 1 deletions
|
|
@ -901,7 +901,7 @@ void VulkanExampleBase::initVulkan()
|
|||
vulkanDevice = new vks::VulkanDevice(physicalDevice);
|
||||
VkResult res = vulkanDevice->createLogicalDevice(enabledFeatures, enabledExtensions);
|
||||
if (res != VK_SUCCESS) {
|
||||
vks::tools::exitFatal("Could not create Vulkan device: \n" + vks::tools::errorString(res), "Fatal error", !benchmark.active);
|
||||
vks::tools::exitFatal("Could not create Vulkan device: \n" + vks::tools::errorString(res), "Fatal error", benchmark.active);
|
||||
}
|
||||
device = vulkanDevice->logicalDevice;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue