summaryrefslogtreecommitdiffhomepage
path: root/loader-impl.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-05 05:05:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-05 05:05:00 +0200
commitd2b9714c5ab557de69a985bdb7e4a0ab0fd95864 (patch)
tree053fd6c2808451ce3645c09c53f9163f9da8c4e8 /loader-impl.cpp
parent32f504c6afb811363b5af0a25fe213d37233c49d (diff)
a
Diffstat (limited to 'loader-impl.cpp')
-rw-r--r--loader-impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader-impl.cpp b/loader-impl.cpp
index 23552f77..24d43fdb 100644
--- a/loader-impl.cpp
+++ b/loader-impl.cpp
@@ -52,7 +52,7 @@ std::shared_ptr<tile_atlas> loader_impl::tile_atlas(const Containers::StringView
if (it != atlas_map.end())
return it->second;
auto image = tile_texture(name);
- auto atlas = std::make_shared<struct tile_atlas>(image, size);
+ auto atlas = std::make_shared<struct tile_atlas>(name, image, size);
atlas_map[name] = atlas;
return atlas;
}