From 06794499ce99020203c7c45294dad0d81bdca13d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 8 Apr 2024 06:21:01 +0200 Subject: a --- editor/tests/region-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor') 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, }; -- cgit v1.2.3