bitrot: update for lang/stdlib deprecations

This commit is contained in:
2021-02-04 07:15:35 -08:00
parent 9dd48d359c
commit 82c53bb761
3 changed files with 5 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ impl ViewRoot<gfx_device_gl::Device, ColorFormat, DepthFormat> {
assert!(inv_worked, "hmd matrix invert");
for &(eye, buffers) in [(vr::Eye::Left, &self.left),
(vr::Eye::Right, &self.right)].into_iter() {
(vr::Eye::Right, &self.right)].iter() {
let target = &buffers.as_ref().expect("vr color buffer").target;
let depth = &buffers.as_ref().expect("vr depth buffer").depth;