From a7066c527aa18364088bdfed0d1c44603f53cb78 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Sun, 21 Aug 2022 14:05:04 +0000 Subject: [PATCH] Sync SDL wiki -> header --- include/SDL_render.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL_render.h b/include/SDL_render.h index 71578ec20..5b7b059af 100644 --- a/include/SDL_render.h +++ b/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. * - * 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 *