summaryrefslogtreecommitdiff
path: root/src/resources/image/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 22:11:45 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 22:11:45 +0300
commit089757c176159291d99d902955ef27312a8471a7 (patch)
tree0ad3f0b014a35ce4f18a1209ea680fd833222e0b /src/resources/image/image.h
parenta6739b53c776771e0f78be3bfa3f8ccbf850f7cb (diff)
downloadmanaverse-089757c176159291d99d902955ef27312a8471a7.tar.gz
manaverse-089757c176159291d99d902955ef27312a8471a7.tar.bz2
manaverse-089757c176159291d99d902955ef27312a8471a7.tar.xz
manaverse-089757c176159291d99d902955ef27312a8471a7.zip
Remove default parameter from image.h
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,