From bede24539543a1a0911523255acf5bf609d87dd1 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Fri, 19 Apr 2024 12:12:55 -0400 Subject: [PATCH] Remove references to renderers being destroyed with windows in the documentation --- include/SDL3/SDL_render.h | 4 ---- include/SDL3/SDL_video.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h index 8681fd373..d5d8b853d 100644 --- a/include/SDL3/SDL_render.h +++ b/include/SDL3/SDL_render.h @@ -2031,10 +2031,6 @@ extern DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture *texture); * If `renderer` is NULL, this function will return immediately after setting * the SDL error message to "Invalid renderer". See SDL_GetError(). * - * Note that destroying a window implicitly destroys the associated renderer, - * so this should not be called if the window associated with the renderer has - * already been destroyed. - * * \param renderer the rendering context * * \since This function is available since SDL 3.0.0. diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index 55a5066e5..f5e8d8e72 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -2179,9 +2179,6 @@ extern DECLSPEC int SDLCALL SDL_FlashWindow(SDL_Window *window, SDL_FlashOperati /** * Destroy a window. * - * If the window has an associated SDL_Renderer, it will be implicitly - * destroyed as well. - * * If `window` is NULL, this function will return immediately after setting * the SDL error message to "Invalid window". See SDL_GetError(). *