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 solidPassThrough;
VkPipeline wirePassThrough = VK_NULL_HANDLE; VkPipeline wirePassThrough = VK_NULL_HANDLE;
} pipelines; } pipelines;
VkPipeline *pipelineLeft = &pipelines.wirePassThrough;
VkPipeline *pipelineRight = &pipelines.wire;
VkPipelineLayout pipelineLayout; VkPipelineLayout pipelineLayout;
VkDescriptorSet descriptorSet; VkDescriptorSet descriptorSet;
@ -535,22 +533,6 @@ public:
updateUniformBuffers(); 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) virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay)
{ {
if (overlay->header("Settings")) { if (overlay->header("Settings")) {