diff options
Diffstat (limited to 'src/resources/image/subimage.cpp')
-rw-r--r-- | src/resources/image/subimage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/image/subimage.cpp b/src/resources/image/subimage.cpp index 9eda05164..0b14b788e 100644 --- a/src/resources/image/subimage.cpp +++ b/src/resources/image/subimage.cpp @@ -227,8 +227,7 @@ void SubImage::decRef() int SubImage::calcMemoryLocal() const { - int sz = static_cast<int>(sizeof(SubImage) + + return static_cast<int>(sizeof(SubImage) + sizeof(std::map<float, SDL_Surface*>)) + Resource::calcMemoryLocal(); - return sz; } |