Added SDL_RenderViewportSet() to tell whether the viewport was previously set to a specific rectangle.

Fixes https://github.com/libsdl-org/SDL/issues/9029
This commit is contained in:
Sam Lantinga 2024-02-09 16:37:04 -08:00
parent 3ebbf0f409
commit 1162097135
5 changed files with 31 additions and 0 deletions

View file

@ -996,3 +996,4 @@
#define SDL_GetRenderColorScale SDL_GetRenderColorScale_REAL
#define SDL_RenderGeometryRawFloat SDL_RenderGeometryRawFloat_REAL
#define SDL_SetWindowShape SDL_SetWindowShape_REAL
#define SDL_RenderViewportSet SDL_RenderViewportSet_REAL