summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index b323f8a16..aaa779360 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -474,7 +474,7 @@ void Image::SDLTerminateAlphaCache()
mUseAlphaCache = false;
}
-int Image::calcMemoryLocal()
+int Image::calcMemoryLocal() const
{
// +++ this calculation can be wrong for SDL2
int sz = sizeof(Image) +