Code cleanup

This commit is contained in:
saschawillems 2016-12-25 13:05:35 +01:00
parent 5c4ef25153
commit ed35ba7b71
3 changed files with 0 additions and 19 deletions

View file

@ -77,13 +77,6 @@ public:
VkDescriptorSet descriptorSet;
VkDescriptorSetLayout descriptorSetLayout;
// Device features to be enabled for this example
virtual VkPhysicalDeviceFeatures getEnabledFeatures()
{
VkPhysicalDeviceFeatures enabledFeatures{};
return enabledFeatures;
}
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
{
zoom = -1.25f;

View file

@ -189,8 +189,6 @@ public:
threadData.resize(numThreads);
createSetupCommandBuffer();
float maxX = std::floor(std::sqrt(numThreads * numObjectsPerThread));
uint32_t posX = 0;
uint32_t posZ = 0;

View file

@ -65,16 +65,6 @@ public:
VkPipeline toon;
} pipelines;
// Device features to be enabled for this example
virtual VkPhysicalDeviceFeatures getEnabledFeatures()
{
//todo...
VkPhysicalDeviceFeatures enabledFeatures{};
enabledFeatures.fillModeNonSolid = VK_TRUE;
enabledFeatures.wideLines = VK_TRUE;
return enabledFeatures;
}
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
{
zoom = -10.5f;