hal/metal: fix the back-face stencil state

This commit is contained in:
Dzmitry Malyshau authored and Dzmitry Malyshau committed 2021-09-14 11:16:51 -04:00
1 parent 8a16aca0fc
commit f82bb96212
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ fn create_depth_stencil_desc(state: &wgt::DepthStencilState) -> mtl::DepthStenci
let front_desc = create_stencil_desc(&s.front, s.read_mask, s.write_mask);
desc.set_front_face_stencil(Some(&front_desc));
let back_desc = create_stencil_desc(&s.back, s.read_mask, s.write_mask);
desc.set_front_face_stencil(Some(&back_desc));
desc.set_back_face_stencil(Some(&back_desc));
}
desc
}