diff options
author | Sylvain Becker <sylvain.becker@gmail.com> | 2020-12-23 21:37:40 +0100 |
---|---|---|
committer | Sylvain Becker <sylvain.becker@gmail.com> | 2020-12-23 21:37:40 +0100 |
commit | 7cc04a0ce4bfed85956efc7cdb57bec9d2fdab2a (patch) | |
tree | 2339e015133a7dd4b55009a4a27a9f7c64796ba7 /include/SDL_surface.h | |
parent | de8d9f54f73434b3a20aeee816dd212bf2584445 (diff) | |
download | sdl-7cc04a0ce4bfed85956efc7cdb57bec9d2fdab2a.tar.gz |
Add SDL_SoftStretchLowerLinear() (Bug 5313)
Diffstat (limited to 'include/SDL_surface.h')
-rw-r--r-- | include/SDL_surface.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/SDL_surface.h b/include/SDL_surface.h index d3f8c814e..a9975d790 100644 --- a/include/SDL_surface.h +++ b/include/SDL_surface.h @@ -519,6 +519,17 @@ extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src, SDL_Surface * dst, const SDL_Rect * dstrect); +/** + * \brief Perform a bilinear scaling between two surfaces of the + * same pixel format, 32BPP. + * + */ +extern DECLSPEC int SDLCALL SDL_SoftStretchLinear(SDL_Surface * src, + const SDL_Rect * srcrect, + SDL_Surface * dst, + const SDL_Rect * dstrect); + + #define SDL_BlitScaled SDL_UpperBlitScaled /** |