The draw color affects RenderClear() as well. (thanks to the feedback form to whoever pointed this out)
authorSam Lantinga <slouken@libsdl.org>
Sun, 30 Oct 2011 17:53:54 -0400
changeset 6039 85afb0c1dd04
parent 6038 3e0f5912363d
child 6040 08aa9c1dfed6
The draw color affects RenderClear() as well. (thanks to the feedback form to whoever pointed this out)
include/SDL_render.h
--- a/include/SDL_render.h	Sun Oct 30 17:31:59 2011 -0400
+++ b/include/SDL_render.h	Sun Oct 30 17:53:54 2011 -0400
@@ -389,7 +389,7 @@
                                                    SDL_Rect * rect);
 
 /**
- *  \brief Set the color used for drawing operations (Fill and Line).
+ *  \brief Set the color used for drawing operations (Rect, Line and Clear).
  *  
  *  \param r The red value used to draw on the rendering target.
  *  \param g The green value used to draw on the rendering target.
@@ -404,7 +404,7 @@
                                            Uint8 a);
 
 /**
- *  \brief Get the color used for drawing operations (Fill and Line).
+ *  \brief Get the color used for drawing operations (Rect, Line and Clear).
  *  
  *  \param r A pointer to the red value used to draw on the rendering target.
  *  \param g A pointer to the green value used to draw on the rendering target.