Browse Source

Remove references to renderers being destroyed with windows in the documentation

Frank Praznik 1 year ago
parent
commit
bede245395
2 changed files with 0 additions and 7 deletions
  1. 0 4
      include/SDL3/SDL_render.h
  2. 0 3
      include/SDL3/SDL_video.h

+ 0 - 4
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.

+ 0 - 3
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().
  *