diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-04 02:38:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-04 02:38:36 +0300 |
commit | a698e2e44e3dfa157c2b184a184db204b44a6a30 (patch) | |
tree | 66876f11a3e80e5bfab69cfd4ce17ed2a59df896 /src/resources/loaders/atlasloader.h | |
parent | 44ef6547161dd3cd2e1bb4053bb5e8619e6dc0d0 (diff) | |
download | manaverse-a698e2e44e3dfa157c2b184a184db204b44a6a30.tar.gz manaverse-a698e2e44e3dfa157c2b184a184db204b44a6a30.tar.bz2 manaverse-a698e2e44e3dfa157c2b184a184db204b44a6a30.tar.xz manaverse-a698e2e44e3dfa157c2b184a184db204b44a6a30.zip |
Show current atlases count in debug window.
If use too many images, atlase can be split to more than one.
And this is performance issue.
Diffstat (limited to 'src/resources/loaders/atlasloader.h')
-rw-r--r-- | src/resources/loaders/atlasloader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/loaders/atlasloader.h b/src/resources/loaders/atlasloader.h index 50d078626..c7cdabae5 100644 --- a/src/resources/loaders/atlasloader.h +++ b/src/resources/loaders/atlasloader.h @@ -26,12 +26,12 @@ #include "localconsts.h" -class Resource; +class AtlasResource; namespace Loader { - Resource *getAtlas(const std::string &name, - const StringVect &files) A_WARN_UNUSED; + AtlasResource *getAtlas(const std::string &name, + const StringVect &files) A_WARN_UNUSED; } // namespace Loader #endif // USE_OPENGL |