summaryrefslogtreecommitdiffhomepage
path: root/src/anim-atlas.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anim-atlas.hpp')
-rw-r--r--src/anim-atlas.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/anim-atlas.hpp b/src/anim-atlas.hpp
index 4e73f9c8..a7553c5c 100644
--- a/src/anim-atlas.hpp
+++ b/src/anim-atlas.hpp
@@ -5,6 +5,7 @@
#include <array>
#include <Corrade/Containers/String.h>
#include <Magnum/Math/Vector2.h>
+#include <Magnum/ImageView.h>
#include <Magnum/GL/Texture.h>
namespace floormat {
@@ -17,7 +18,7 @@ struct anim_atlas final
using texcoords = std::array<Vector2, 4>;
anim_atlas() noexcept;
- anim_atlas(StringView name, GL::Texture2D&& tex, anim_info info) noexcept;
+ anim_atlas(StringView name, const ImageView2D& tex, anim_info info) noexcept;
~anim_atlas() noexcept;
anim_atlas(anim_atlas&&) noexcept;