summaryrefslogtreecommitdiff
path: root/src/resources/subimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/subimage.h')
-rw-r--r--src/resources/subimage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/subimage.h b/src/resources/subimage.h
index 27a76d277..2fe562c30 100644
--- a/src/resources/subimage.h
+++ b/src/resources/subimage.h
@@ -79,6 +79,10 @@ class SubImage final : public Image
const int width,
const int height) override final A_WARN_UNUSED;
+#ifdef USE_OPENGL
+ void decRef() override final;
+#endif
+
SDL_Rect mInternalBounds;
private: