Ver Fonte

Sync SDL3 wiki -> header

SDL Wiki Bot há 1 ano atrás
pai
commit
6429806dce
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      include/SDL3/SDL_render.h

+ 3 - 1
include/SDL3/SDL_render.h

@@ -1677,7 +1677,9 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetRenderDrawBlendMode(SDL_Renderer *rendere
  * Clear the current rendering target with the drawing color.
  *
  * This function clears the entire rendering target, ignoring the viewport and
- * the clip rectangle.
+ * the clip rectangle. Note, that clearing will also set/fill all pixels of
+ * the rendering target to current renderer draw color, so make sure to invoke
+ * SDL_SetRenderDrawColor() when needed.
  *
  * \param renderer the rendering context
  * \returns 0 on success or a negative error code on failure; call