diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-06-25 15:18:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-06-25 15:18:46 +0200 |
commit | dad4ae54192bd420aaf7b8816a953c0e42a93dd6 (patch) | |
tree | 152784b004869440ed1e7a4d588163d63d121f8f /loader-impl.cpp | |
parent | 8e6ad9cd70156ad47a7ad11ef5d59aa2ac06aea9 (diff) |
.
Diffstat (limited to 'loader-impl.cpp')
-rw-r--r-- | loader-impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader-impl.cpp b/loader-impl.cpp index 8e7cb081..6d760330 100644 --- a/loader-impl.cpp +++ b/loader-impl.cpp @@ -14,7 +14,7 @@ namespace Magnum::Examples { -using atlas_ptr = std::shared_ptr<atlas_texture>; +using atlas_ptr = std::shared_ptr<texture_atlas>; struct loader_impl final : loader_ { @@ -51,7 +51,7 @@ atlas_ptr loader_impl::tile_atlas(const Containers::StringView& name, Vector2i s if (it != atlas_map.end()) return it->second; auto image = tile_texture(name); - auto atlas = std::make_shared<atlas_texture>(image, size); + auto atlas = std::make_shared<texture_atlas>(image, size); atlas_map[name] = atlas; return atlas; } |