summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-29 18:35:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 18:35:28 +0300
commit10fcab46c31bb5c5b44416e6b3bb497e9434f352 (patch)
tree94c9b0e7fec5be76a0e1f96d02c25e2de17785ef
parentb3f3ad6d71bf973974da485d08d5acac5db15ba8 (diff)
downloadplus-10fcab46c31bb5c5b44416e6b3bb497e9434f352.tar.gz
plus-10fcab46c31bb5c5b44416e6b3bb497e9434f352.tar.bz2
plus-10fcab46c31bb5c5b44416e6b3bb497e9434f352.tar.xz
plus-10fcab46c31bb5c5b44416e6b3bb497e9434f352.zip
Add name into TexttureAtlas memory object.
-rw-r--r--src/resources/atlas/textureatlas.h3
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;