From 30980623af88fb8e9244d42ab32750d07c4ddb9e Mon Sep 17 00:00:00 2001 From: saschawillems Date: Tue, 9 Jan 2018 20:22:09 +0100 Subject: [PATCH] Device creation failure error message display --- base/vulkanexamplebase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index 79ff1b56..f15485f1 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -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;