summaryrefslogtreecommitdiff
path: root/src/resources/image/subimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image/subimage.cpp')
-rw-r--r--src/resources/image/subimage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image/subimage.cpp b/src/resources/image/subimage.cpp
index 0b14b788e..3060dfd51 100644
--- a/src/resources/image/subimage.cpp
+++ b/src/resources/image/subimage.cpp
@@ -88,7 +88,7 @@ SubImage::SubImage(Image *const parent,
SDL_Surface *const image,
const int x, const int y,
const int width, const int height) :
- Image(image, false),
+ Image(image, false, nullptr),
mInternalBounds(),
mParent(parent)
{