Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

The draw color affects RenderClear() as well. (thanks to the feedback…

… form to whoever pointed this out)
  • Loading branch information
slouken committed Oct 30, 2011
1 parent 0471255 commit 06ef6341fa87dccf75e2d659874bf8d262b2118d

File 1 of 1 in 06ef634

@@ -389,7 +389,7 @@ extern DECLSPEC void SDLCALL SDL_RenderGetViewport(SDL_Renderer * renderer,
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 @@ extern DECLSPEC int SDL_SetRenderDrawColor(SDL_Renderer * renderer,
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.

0 comments on commit 06ef634

Please sign in to comment.