Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
The draw color affects RenderClear() as well. (thanks to the feedback…
Browse files Browse the repository at this point in the history
… form to whoever pointed this out)
  • Loading branch information
slouken committed Oct 30, 2011
1 parent 0471255 commit 06ef634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/SDL_render.h
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 06ef634

Please sign in to comment.