From 0775822f35b44443a3a77dcca46bc934c5e33eca Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 7 Apr 2016 22:08:20 +0200 Subject: [PATCH] Fix compilation, oops --- vulkano/src/pipeline/graphics_pipeline.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vulkano/src/pipeline/graphics_pipeline.rs b/vulkano/src/pipeline/graphics_pipeline.rs index b8a32970..18a00761 100644 --- a/vulkano/src/pipeline/graphics_pipeline.rs +++ b/vulkano/src/pipeline/graphics_pipeline.rs @@ -436,8 +436,8 @@ impl GraphicsPipeline else { vk::FALSE }, depthCompareOp: params.depth_stencil.depth_compare as u32, depthBoundsTestEnable: db.0, - stencilTestEnable: if params.stencil_front.always_keep() && - params.stencil_back.always_keep() + stencilTestEnable: if params.depth_stencil.stencil_front.always_keep() && + params.depth_stencil.stencil_back.always_keep() { vk::FALSE } else { vk::TRUE }, front: vk::StencilOpState { failOp: params.depth_stencil.stencil_front.fail_op as u32,