Remove dead code
This commit is contained in:
parent
452b78ef42
commit
b989326aba
1 changed files with 0 additions and 18 deletions
|
|
@ -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")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue