Remove references to renderers being destroyed with windows in the documentation

main
Frank Praznik 2024-04-19 12:12:55 -04:00
parent cab3defc18
commit bede245395
2 changed files with 0 additions and 7 deletions

View File

@ -2031,10 +2031,6 @@ extern DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture *texture);
* If `renderer` 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 renderer". See SDL_GetError(). * 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 * \param renderer the rendering context
* *
* \since This function is available since SDL 3.0.0. * \since This function is available since SDL 3.0.0.

View File

@ -2179,9 +2179,6 @@ extern DECLSPEC int SDLCALL SDL_FlashWindow(SDL_Window *window, SDL_FlashOperati
/** /**
* Destroy a window. * 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 * If `window` 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 window". See SDL_GetError().
* *