summaryrefslogtreecommitdiff
path: root/src/resources/subimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/subimage.cpp')
-rw-r--r--src/resources/subimage.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/subimage.cpp b/src/resources/subimage.cpp
index 717858ae0..ef9827810 100644
--- a/src/resources/subimage.cpp
+++ b/src/resources/subimage.cpp
@@ -211,3 +211,10 @@ Image *SubImage::getSubImage(const int x, const int y,
else
return nullptr;
}
+
+#ifdef USE_OPENGL
+void SubImage::decRef()
+{
+ Resource::decRef();
+}
+#endif