diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-10 23:35:48 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-10 23:35:48 +0100 |
| commit | 9aba8139b728d3b25f5763ddc134b09e5a2e1948 (patch) | |
| tree | 37f18eee33ba98b79c5980961a0f12fbc9017b51 /loader | |
| parent | 4e46a8101b2063457ac0c56770e58cd0bedf52ea (diff) | |
w
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/wall-atlas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/wall-atlas.cpp b/loader/wall-atlas.cpp index 30afe3d9..745c5eb8 100644 --- a/loader/wall-atlas.cpp +++ b/loader/wall-atlas.cpp @@ -62,11 +62,11 @@ const wall_info& loader_impl::make_invalid_wall_atlas() wall_atlas_def { Wall::Info{.name = name, .depth = 8}, {{ {}, frame_size}, }, - {{ {.index = 0, .count = 1, .pixel_size = frame_size, } }}, + {{ {.index = 0, .count = 1, .pixel_size = frame_size, } } }, {{ {.val = 0}, {}, }}, {1u}, }, name, make_error_texture()); - invalid_wall_atlas = Pointer<wall_info>{InPlaceInit, wall_info{ .name = name, .atlas = a } }; + invalid_wall_atlas = Pointer<wall_info>{InPlaceInit, wall_info{ .name = name, .atlas = std::move(a) } }; return *invalid_wall_atlas; } |
