Fix compilation, oops

This commit is contained in:
Pierre Krieger 2016-04-07 22:08:20 +02:00
parent 3c3d15eb72
commit 0775822f35

View File

@ -436,8 +436,8 @@ impl<Vdef, L, Rp> GraphicsPipeline<Vdef, L, Rp>
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,