Don't exit if anisotropic filtering is not supported

This commit is contained in:
saschawillems 2017-06-01 21:51:43 +02:00
parent b63170ac7a
commit 0b8484b21d

View file

@ -106,10 +106,7 @@ public:
// Enable anisotropic filtering if supported
if (deviceFeatures.samplerAnisotropy) {
enabledFeatures.samplerAnisotropy = VK_TRUE;
}
else {
vks::tools::exitFatal("Selected GPU does not support tessellation shaders!", "Feature not supported");
}
};
}
// Create an image memory barrier used to change the layout of an image and put it into an active command buffer