Add SDL_SoftStretchLowerLinear() (Bug 5313)

This commit is contained in:
Sylvain Becker 2020-12-23 21:37:40 +01:00
parent 050ee9a410
commit ae8a270f61
2 changed files with 731 additions and 1 deletions

View file

@ -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
/**