summaryrefslogtreecommitdiffhomepage
path: root/loader-impl.cpp
diff options
context:
space:
mode:
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;
}