From c076b0d17f2ed92a72b5d155d1613ebfbb3073df Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 22 Apr 2025 10:17:11 -0700 Subject: [PATCH] Removed incorrect documentation for SDL_RenderViewportSet() Closes https://github.com/libsdl-org/SDL/pull/12854 --- include/SDL3/SDL_render.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h index dc5107d625..e2e42750c4 100644 --- a/include/SDL3/SDL_render.h +++ b/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.