Don't exit if anisotropic filtering is not supported
This commit is contained in:
parent
b63170ac7a
commit
0b8484b21d
1 changed files with 1 additions and 4 deletions
|
|
@ -106,10 +106,7 @@ public:
|
||||||
// Enable anisotropic filtering if supported
|
// Enable anisotropic filtering if supported
|
||||||
if (deviceFeatures.samplerAnisotropy) {
|
if (deviceFeatures.samplerAnisotropy) {
|
||||||
enabledFeatures.samplerAnisotropy = VK_TRUE;
|
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
|
// Create an image memory barrier used to change the layout of an image and put it into an active command buffer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue