From 9a355f141e3dd7d5fee8c5674a43fe72f274cf63 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Mar 2023 16:01:42 +0100 Subject: src: reduce padding But it doesn't help yet because it pads to sizeof(void*) at the end. --- src/anim-atlas.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anim-atlas.hpp b/src/anim-atlas.hpp index e5446c82..64830efa 100644 --- a/src/anim-atlas.hpp +++ b/src/anim-atlas.hpp @@ -52,13 +52,13 @@ struct anim_atlas final static BitArray make_bitmask(const ImageView2D& tex); private: - GL::Texture2D _tex; String _name; BitArray _bitmask; anim_def _info; std::array _group_indices = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, }; + GL::Texture2D _tex; static decltype(_group_indices) make_group_indices(const anim_def& anim) noexcept; static std::uint8_t rotation_to_index(StringView name) noexcept; -- cgit v1.2.3