From 4d0d96e0afc0c49203d86702cbdbaa58238d472b Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Sat, 25 Nov 2023 11:11:16 +0100 Subject: [PATCH] Removed unused variable --- examples/subpasses/subpasses.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/subpasses/subpasses.cpp b/examples/subpasses/subpasses.cpp index 70c26d3f8..6219412c3 100644 --- a/examples/subpasses/subpasses.cpp +++ b/examples/subpasses/subpasses.cpp @@ -352,8 +352,6 @@ class VulkanExample : public VulkanExampleBase inputReferences[1] = { 2, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL }; inputReferences[2] = { 3, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL }; - uint32_t preserveAttachmentIndex = 1; - subpassDescriptions[1].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; subpassDescriptions[1].colorAttachmentCount = 1; subpassDescriptions[1].pColorAttachments = &colorReference;