Removed incorrect documentation for SDL_RenderViewportSet()

Closes https://github.com/libsdl-org/SDL/pull/12854
This commit is contained in:
Sam Lantinga 2025-04-22 10:17:11 -07:00
parent 47162a4168
commit c076b0d17f

View file

@ -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. * 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 * 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 * whether you should restore a specific rectangle or NULL.
* viewport is always reset when changing rendering targets.
* *
* Each render target has its own viewport. This function checks the viewport * Each render target has its own viewport. This function checks the viewport
* for the current render target. * for the current render target.