summaryrefslogtreecommitdiff
path: root/src/resources/subimage.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-06 17:40:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-06 17:40:26 +0300
commit1d563a171844af47aa013519618ad018d2b194ea (patch)
treeacfd151ade17f31992dbc24fa1948dab19083885 /src/resources/subimage.h
parent99cca58b333793bec5c916870901e964360ed4f4 (diff)
downloadplus-1d563a171844af47aa013519618ad018d2b194ea.tar.gz
plus-1d563a171844af47aa013519618ad018d2b194ea.tar.bz2
plus-1d563a171844af47aa013519618ad018d2b194ea.tar.xz
plus-1d563a171844af47aa013519618ad018d2b194ea.zip
Add image type for image classes. for detect what kind of class used in image.
Diffstat (limited to 'src/resources/subimage.h')
-rw-r--r--src/resources/subimage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/subimage.h b/src/resources/subimage.h
index fc9ed5826..1fa0eb3ed 100644
--- a/src/resources/subimage.h
+++ b/src/resources/subimage.h
@@ -78,6 +78,9 @@ class SubImage final : public Image
const int width,
const int height) override final A_WARN_UNUSED;
+ ImageTypeT getType() const override final
+ { return ImageType::SubImage; }
+
int calcMemoryLocal() const override;
#ifdef USE_OPENGL