From 1d563a171844af47aa013519618ad018d2b194ea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Jun 2016 17:40:26 +0300 Subject: Add image type for image classes. for detect what kind of class used in image. --- src/resources/subimage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources/subimage.h') 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 -- cgit v1.2.3-70-g09d2