depth: glium::Depth {
test: glium::draw_parameters::DepthTest::IfLess,
write: true,
- .. Default::default()
+ ..Default::default()
},
blend: glium::Blend::alpha_blending(),
- .. Default::default()
+ ..Default::default()
};
let front_indices = IndexBuffer::new(display, PrimitiveType::LineLoop,
depth: glium::Depth {
test: glium::draw_parameters::DepthTest::IfLess,
write: true,
- .. Default::default()
+ ..Default::default()
},
blend: glium::Blend::alpha_blending(),
- .. Default::default()
+ ..Default::default()
};
frame.draw(&vb, &indices, program, uniforms, ¶ms).unwrap();