瀏覽代碼

Sync SDL wiki -> header

SDL Wiki Bot 2 年之前
父節點
當前提交
a7066c527a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/SDL_render.h

+ 2 - 2
include/SDL_render.h

@@ -1765,8 +1765,8 @@ extern DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture * texture);
 /**
 /**
  * Destroy the rendering context for a window and free associated textures.
  * Destroy the rendering context for a window and free associated textures.
  *
  *
- * If `window` is NULL, this function will return immediately after setting
- * the SDL error message to "Invalid window". See SDL_GetError().
+ * If `renderer` is NULL, this function will return immediately after setting
+ * the SDL error message to "Invalid renderer". See SDL_GetError().
  *
  *
  * \param renderer the rendering context
  * \param renderer the rendering context
  *
  *