From e30279fae573f4c492ed0736ebf62097c261a3ef Mon Sep 17 00:00:00 2001 From: Sascha Willems Date: Mon, 6 Jan 2020 20:07:09 +0100 Subject: [PATCH] Remove unnecessary assignment Fixes #648 --- base/VulkanInitializers.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/base/VulkanInitializers.hpp b/base/VulkanInitializers.hpp index b2696aae..fd627de3 100644 --- a/base/VulkanInitializers.hpp +++ b/base/VulkanInitializers.hpp @@ -451,7 +451,6 @@ namespace vks pipelineDepthStencilStateCreateInfo.depthTestEnable = depthTestEnable; pipelineDepthStencilStateCreateInfo.depthWriteEnable = depthWriteEnable; pipelineDepthStencilStateCreateInfo.depthCompareOp = depthCompareOp; - pipelineDepthStencilStateCreateInfo.front = pipelineDepthStencilStateCreateInfo.back; pipelineDepthStencilStateCreateInfo.back.compareOp = VK_COMPARE_OP_ALWAYS; return pipelineDepthStencilStateCreateInfo; }