The draw color affects RenderClear() as well. (thanks to the feedback form to whoever pointed this out)
1.1 --- a/include/SDL_render.h Sun Oct 30 17:31:59 2011 -0400
1.2 +++ b/include/SDL_render.h Sun Oct 30 17:53:54 2011 -0400
1.3 @@ -389,7 +389,7 @@
1.4 SDL_Rect * rect);
1.5
1.6 /**
1.7 - * \brief Set the color used for drawing operations (Fill and Line).
1.8 + * \brief Set the color used for drawing operations (Rect, Line and Clear).
1.9 *
1.10 * \param r The red value used to draw on the rendering target.
1.11 * \param g The green value used to draw on the rendering target.
1.12 @@ -404,7 +404,7 @@
1.13 Uint8 a);
1.14
1.15 /**
1.16 - * \brief Get the color used for drawing operations (Fill and Line).
1.17 + * \brief Get the color used for drawing operations (Rect, Line and Clear).
1.18 *
1.19 * \param r A pointer to the red value used to draw on the rendering target.
1.20 * \param g A pointer to the green value used to draw on the rendering target.