diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-29 18:35:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-29 18:35:28 +0300 |
commit | 10fcab46c31bb5c5b44416e6b3bb497e9434f352 (patch) | |
tree | 94c9b0e7fec5be76a0e1f96d02c25e2de17785ef /src/resources/atlas | |
parent | b3f3ad6d71bf973974da485d08d5acac5db15ba8 (diff) | |
download | plus-10fcab46c31bb5c5b44416e6b3bb497e9434f352.tar.gz plus-10fcab46c31bb5c5b44416e6b3bb497e9434f352.tar.bz2 plus-10fcab46c31bb5c5b44416e6b3bb497e9434f352.tar.xz plus-10fcab46c31bb5c5b44416e6b3bb497e9434f352.zip |
Add name into TexttureAtlas memory object.
Diffstat (limited to 'src/resources/atlas')
-rw-r--r-- | src/resources/atlas/textureatlas.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/atlas/textureatlas.h b/src/resources/atlas/textureatlas.h index fce101f64..7208a7bf8 100644 --- a/src/resources/atlas/textureatlas.h +++ b/src/resources/atlas/textureatlas.h @@ -71,6 +71,9 @@ struct TextureAtlas final : public MemoryCounter return sz; } + std::string getCounterName() const override + { return name; } + std::string name; Image *atlasImage; int width; |