- found the stupid bug that caused validation layer not to work..

This commit is contained in:
Magnus Norddahl 2019-03-02 16:52:33 +01:00
parent 8854fad165
commit 28f83fc9db

View file

@ -198,7 +198,6 @@ void VulkanDevice::createInstance()
createInfo.enabledLayerCount = (uint32_t)validationLayers.size();
createInfo.ppEnabledLayerNames = validationLayers.data();
createInfo.ppEnabledExtensionNames = enabledExtensions.data();
createInfo.enabledLayerCount = 0;
result = vkCreateInstance(&createInfo, nullptr, &instance);
if (result != VK_SUCCESS)