From 0b8484b21d667846268d385a6daaf93ec25f4136 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Thu, 1 Jun 2017 21:51:43 +0200 Subject: [PATCH] Don't exit if anisotropic filtering is not supported --- texture/texture.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/texture/texture.cpp b/texture/texture.cpp index 76affe36..ffafd5b5 100644 --- a/texture/texture.cpp +++ b/texture/texture.cpp @@ -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