From a1f2112820748c30c2d8e77db4588d7e204bd3d0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 28 Jan 2016 00:12:02 +0300 Subject: [PATCH] Add default argument values for SetDrawColor --- SDL2pp/Renderer.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL2pp/Renderer.hh b/SDL2pp/Renderer.hh index ceea54e..f91e473 100644 --- a/SDL2pp/Renderer.hh +++ b/SDL2pp/Renderer.hh @@ -298,7 +298,7 @@ public: /// \see http://wiki.libsdl.org/SDL_SetRenderDrawColor /// //////////////////////////////////////////////////////////// - Renderer& SetDrawColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a = 255); + Renderer& SetDrawColor(Uint8 r = 0, Uint8 g = 0, Uint8 b = 0, Uint8 a = 255); //////////////////////////////////////////////////////////// /// \brief Set current render target to default