瀏覽代碼

Sync SDL3 wiki -> header

SDL Wiki Bot 2 年之前
父節點
當前提交
6429806dce
共有 1 個文件被更改,包括 3 次插入1 次删除
  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