aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/draw_passes/level.rs
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/src/draw/draw_passes/level.rs
parent6eb9083b1f2fec63e17dc8ef462ea89bae0854b5 (diff)
feat(all): support stable
Diffstat (limited to 'stockton-render/src/draw/draw_passes/level.rs')
-rw-r--r--stockton-render/src/draw/draw_passes/level.rs2
1 files changed, 1 insertions, 1 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);