aboutsummaryrefslogtreecommitdiff
path: root/stockton-render
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:23 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:23 +0100
commita098066875fd554f7d1a6538b55d6b39a3e055e9 (patch)
treed725147105bcea335af4ff36362a6afc7e7ca9d3 /stockton-render
parent6eb9083b1f2fec63e17dc8ef462ea89bae0854b5 (diff)
feat(all): support stable
Diffstat (limited to 'stockton-render')
-rw-r--r--stockton-render/src/draw/draw_passes/level.rs2
-rw-r--r--stockton-render/src/lib.rs2
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;