summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-08 06:21:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-08 06:21:01 +0200
commit06794499ce99020203c7c45294dad0d81bdca13d (patch)
tree398e17c113cd4fae7be143df1d2ecf77e46a1c6b /editor
parent382ba9ffeedc95039e8d4ec360cd389ae220159c (diff)
a
Diffstat (limited to 'editor')
-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,
};