diff --git a/src/sdl/rect.hpp b/src/sdl/rect.hpp index be98ccdfc01d..ffee686af057 100644 --- a/src/sdl/rect.hpp +++ b/src/sdl/rect.hpp @@ -142,10 +142,10 @@ inline void fill_rect(surface& dst, SDL_Rect* dst_rect, const Uint32 color) } #if SDL_VERSION_ATLEAST(2,0,0) -void fill_rect(SDL_Renderer *rnd, SDL_Rect *rect, Uint8 r, Uint8 g, Uint8 b, +void fill_rect(SDL_Renderer &rnd, SDL_Rect *rect, Uint8 r, Uint8 g, Uint8 b, Uint8 a); -void draw_rect(SDL_Renderer *rnd, SDL_Rect *rect, Uint8 r, Uint8 g, Uint8 b, +void draw_rect(SDL_Renderer &rnd, SDL_Rect *rect, Uint8 r, Uint8 g, Uint8 b, Uint8 a); #endif } // namespace sdl