From 10fcab46c31bb5c5b44416e6b3bb497e9434f352 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Apr 2016 18:35:28 +0300 Subject: Add name into TexttureAtlas memory object. --- src/resources/atlas/textureatlas.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3-70-g09d2