Removed duplicate device feature support checks

This commit is contained in:
saschawillems 2018-01-21 10:18:53 +01:00
parent f252284fa5
commit 6a60e5d60e
2 changed files with 0 additions and 12 deletions

View file

@ -503,12 +503,6 @@ public:
void prepare()
{
// Check if device supports tessellation shaders
if (!deviceFeatures.tessellationShader)
{
vks::tools::exitFatal("Selected GPU does not support tessellation shaders!", "Feature not supported");
}
VulkanExampleBase::prepare();
loadAssets();
setupVertexDescriptions();

View file

@ -906,12 +906,6 @@ public:
void prepare()
{
// Check if device supports tessellation shaders
if (!deviceFeatures.tessellationShader)
{
vks::tools::exitFatal("Selected GPU does not support tessellation shaders!", "Feature not supported");
}
VulkanExampleBase::prepare();
loadAssets();
generateTerrain();