Browse Source

Removed incorrect documentation for SDL_RenderViewportSet()

Closes https://github.com/libsdl-org/SDL/pull/12854
Sam Lantinga 4 months ago
parent
commit
c076b0d17f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      include/SDL3/SDL_render.h

+ 1 - 2
include/SDL3/SDL_render.h

@@ -1666,8 +1666,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderViewport(SDL_Renderer *renderer, S
  * Return whether an explicit rectangle was set as the viewport.
  *
  * This is useful if you're saving and restoring the viewport and want to know
- * whether you should restore a specific rectangle or NULL. Note that the
- * viewport is always reset when changing rendering targets.
+ * whether you should restore a specific rectangle or NULL.
  *
  * Each render target has its own viewport. This function checks the viewport
  * for the current render target.