From 2e3f6bbeb2e51f2c8e7dad0be4496568d4db9851 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 19 Jan 2015 03:06:56 +0300 Subject: [PATCH] Provide default value for SDL_image init flags --- SDL2pp/SDLImage.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL2pp/SDLImage.hh b/SDL2pp/SDLImage.hh index e8ded02..bcbc191 100644 --- a/SDL2pp/SDLImage.hh +++ b/SDL2pp/SDLImage.hh @@ -64,7 +64,7 @@ public: /// \see https://www.libsdl.org/projects/SDL_image/docs/SDL_image.html#SEC8 /// //////////////////////////////////////////////////////////// - SDLImage(int flags); + SDLImage(int flags = 0); //////////////////////////////////////////////////////////// /// \brief Destructor, deinitializes SDL_image library