Sync SDL wiki -> header

This commit is contained in:
SDL Wiki Bot 2022-08-21 14:05:04 +00:00
parent 996eb2edb3
commit a7066c527a
1 changed files with 2 additions and 2 deletions

View File

@ -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 * If `renderer` is NULL, this function will return immediately after setting
* the SDL error message to "Invalid window". See SDL_GetError(). * the SDL error message to "Invalid renderer". See SDL_GetError().
* *
* \param renderer the rendering context * \param renderer the rendering context
* *