Browse Source

Sync SDL2 wiki -> header

SDL Wiki Bot 7 months ago
parent
commit
ea820edc62
1 changed files with 4 additions and 1 deletions
  1. 4 1
      include/SDL_render.h

+ 4 - 1
include/SDL_render.h

@@ -764,7 +764,10 @@ extern DECLSPEC SDL_bool SDLCALL SDL_RenderTargetSupported(SDL_Renderer *rendere
  *
  * The default render target is the window for which the renderer was created.
  * To stop rendering to a texture and render to the window again, call this
- * function with a NULL `texture`.
+ * function with a NULL `texture`. This will reset the renderer's viewport,
+ * clipping rectangle, and scaling settings to the state they were in before
+ * setting a non-NULL `texture` target, losing any changes made in the
+ * meantime.
  *
  * \param renderer the rendering context.
  * \param texture the targeted texture, which must be created with the