summaryrefslogtreecommitdiff
path: root/src/resources/image/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image/image.h')
-rw-r--r--src/resources/image/image.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/image/image.h b/src/resources/image/image.h
index 1da834bb1..d3a6d5aac 100644
--- a/src/resources/image/image.h
+++ b/src/resources/image/image.h
@@ -217,8 +217,9 @@ class Image notfinal : public Resource
// -----------------------
/** SDL Constructor */
- Image(SDL_Surface *restrict const image, const bool hasAlphaChannel,
- uint8_t *restrict const alphaChannel = nullptr);
+ Image(SDL_Surface *restrict const image,
+ const bool hasAlphaChannel,
+ uint8_t *restrict const alphaChannel);
#ifdef USE_SDL2
Image(SDL_Texture *restrict const image,