diff options
Diffstat (limited to 'stockton-render')
-rw-r--r-- | stockton-render/src/draw/draw_passes/level.rs | 2 | ||||
-rw-r--r-- | stockton-render/src/lib.rs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/stockton-render/src/draw/draw_passes/level.rs b/stockton-render/src/draw/draw_passes/level.rs index d23990d..9872b8c 100644 --- a/stockton-render/src/draw/draw_passes/level.rs +++ b/stockton-render/src/draw/draw_passes/level.rs @@ -199,7 +199,7 @@ where match face.geometry(&map) { Geometry::Vertices(v1, v2, v3) => { - for v in [v1, v2, v3] { + for v in &[v1, v2, v3] { let uvp = UvPoint(v.position, face.texture_idx(&map).try_into()?, v.tex); diff --git a/stockton-render/src/lib.rs b/stockton-render/src/lib.rs index 17dbf03..6ab7740 100644 --- a/stockton-render/src/lib.rs +++ b/stockton-render/src/lib.rs @@ -1,5 +1,3 @@ -#![allow(incomplete_features)] -#![feature(generic_associated_types)] #[cfg(feature = "vulkan")] extern crate gfx_backend_vulkan as back; extern crate gfx_hal as hal; |