summaryrefslogtreecommitdiffhomepage
path: root/editor/tests/region-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/tests/region-test.cpp')
-rw-r--r--editor/tests/region-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/tests/region-test.cpp b/editor/tests/region-test.cpp
index 484ea5e0..1206b1eb 100644
--- a/editor/tests/region-test.cpp
+++ b/editor/tests/region-test.cpp
@@ -158,7 +158,7 @@ void region_test::do_region_extraction(app& a, chunk_coords_ coord)
{
auto C_coord = Vector2i{ Vector2i(C->coord.local()) * iTILE_SIZE2 + Vector2i(C->offset) };
result = {
- .region = c->make_pass_region(true, {&C_coord, 1}),
+ .region = c->make_pass_region(true, arrayView({C_coord})),
.c = coord,
.exists = true,
};