Remove dead code

This commit is contained in:
Brad Davis 2018-04-19 09:48:35 -07:00
parent 452b78ef42
commit b989326aba

View file

@ -76,8 +76,6 @@ public:
VkPipeline solidPassThrough;
VkPipeline wirePassThrough = VK_NULL_HANDLE;
} pipelines;
VkPipeline *pipelineLeft = &pipelines.wirePassThrough;
VkPipeline *pipelineRight = &pipelines.wire;
VkPipelineLayout pipelineLayout;
VkDescriptorSet descriptorSet;
@ -535,22 +533,6 @@ public:
updateUniformBuffers();
}
void togglePipelines()
{
if (pipelineRight == &pipelines.solid)
{
pipelineRight = &pipelines.wire;
pipelineLeft = &pipelines.wirePassThrough;
}
else
{
pipelineRight = &pipelines.solid;
pipelineLeft = &pipelines.solidPassThrough;
}
buildCommandBuffers();
}
virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay)
{
if (overlay->header("Settings")) {