aboutsummaryrefslogtreecommitdiff
path: root/mtree-test/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mtree-test/src/lib.rs')
-rw-r--r--mtree-test/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtree-test/src/lib.rs b/mtree-test/src/lib.rs
index cf55e92..bf0117d 100644
--- a/mtree-test/src/lib.rs
+++ b/mtree-test/src/lib.rs
@@ -82,7 +82,7 @@ pub fn frame_to_frame_rect_copy(
aoff: I16Vec2,
boff: I16Vec2,
) {
- for y in size.x..size.y {
+ for y in 0..size.y {
let astart = aframe.index(res, i16vec2(aoff.x, aoff.y + y));
let aend = aframe.index(res, i16vec2(aoff.x + size.x, aoff.y + y));
let bstart = bframe.index(res, i16vec2(boff.x, boff.y + y));