diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-07 08:14:44 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-07 08:14:44 +0100 |
| commit | abdf55da61607b71c393407b5da98291cdee52c6 (patch) | |
| tree | 502c504de051a8a1c9e51896642481902e1ba649 | |
| parent | 2647303a34043e2437bc6ab3c1b0e1e071bf4a5d (diff) | |
don't expose loader::tile_texture()
| -rw-r--r-- | loader/loader-impl.cpp | 2 | ||||
| -rw-r--r-- | src/loader.hpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/loader/loader-impl.cpp b/loader/loader-impl.cpp index cc92939f..d1a766c2 100644 --- a/loader/loader-impl.cpp +++ b/loader/loader-impl.cpp @@ -45,7 +45,7 @@ struct loader_impl final : loader_ std::vector<String> anim_atlases; StringView shader(StringView filename) override; - Trade::ImageData2D tile_texture(StringView filename) override; + Trade::ImageData2D tile_texture(StringView filename); std::shared_ptr<struct tile_atlas> tile_atlas(StringView filename, Vector2ub size) override; ArrayView<String> anim_atlas_list() override; std::shared_ptr<struct anim_atlas> anim_atlas(StringView name) override; diff --git a/src/loader.hpp b/src/loader.hpp index 0aaaa42e..6beaf60e 100644 --- a/src/loader.hpp +++ b/src/loader.hpp @@ -16,7 +16,6 @@ struct anim_atlas; struct loader_ { virtual StringView shader(StringView filename) = 0; - virtual Trade::ImageData2D tile_texture(StringView filename) = 0; virtual std::shared_ptr<struct tile_atlas> tile_atlas(StringView filename, Vector2ub size) = 0; virtual ArrayView<String> anim_atlas_list() = 0; virtual std::shared_ptr<struct anim_atlas> anim_atlas(StringView name) = 0; |
