mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-12-15 23:43:24 +08:00
Remove references to renderers being destroyed with windows in the documentation
This commit is contained in:
parent
cab3defc18
commit
bede245395
@ -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.
|
||||
|
@ -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().
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user