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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/subimage.cpp b/src/resources/subimage.cpp
index f1cec9aaf..cad476f2f 100644
--- a/src/resources/subimage.cpp
+++ b/src/resources/subimage.cpp
@@ -36,6 +36,7 @@ SubImage::SubImage(Image *const parent, SDL_Surface *const image,
const int x, const int y,
const int width, const int height) :
Image(image),
+ mInternalBounds(),
mParent(parent)
{
if (mParent)
@@ -84,6 +85,7 @@ SubImage::SubImage(Image *const parent, const GLuint image,
const int x, const int y, const int width, const int height,
const int texWidth, const int texHeight):
Image(image, width, height, texWidth, texHeight),
+ mInternalBounds(),
mParent(parent)
{
if (mParent)