From b989326aba36782f245ae0ccdf3e8ed93cc9b543 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Thu, 19 Apr 2018 09:48:35 -0700 Subject: [PATCH] Remove dead code --- examples/tessellation/tessellation.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/examples/tessellation/tessellation.cpp b/examples/tessellation/tessellation.cpp index fd81a165..a8cf2b97 100644 --- a/examples/tessellation/tessellation.cpp +++ b/examples/tessellation/tessellation.cpp @@ -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")) {