The source rectangle isn't modified in SDL_UpperBlit

This commit is contained in:
Sam Lantinga 2011-01-04 10:19:24 -08:00
parent 0398104662
commit c7c6cb464a
2 changed files with 2 additions and 2 deletions

View file

@ -585,7 +585,7 @@ extern DECLSPEC int SDLCALL SDL_BlendFillRects
* rectangle validation and clipping before passing it to SDL_LowerBlit() * rectangle validation and clipping before passing it to SDL_LowerBlit()
*/ */
extern DECLSPEC int SDLCALL SDL_UpperBlit extern DECLSPEC int SDLCALL SDL_UpperBlit
(SDL_Surface * src, SDL_Rect * srcrect, (SDL_Surface * src, const SDL_Rect * srcrect,
SDL_Surface * dst, SDL_Rect * dstrect); SDL_Surface * dst, SDL_Rect * dstrect);
/** /**

View file

@ -640,7 +640,7 @@ SDL_LowerBlit(SDL_Surface * src, SDL_Rect * srcrect,
int int
SDL_UpperBlit(SDL_Surface * src, SDL_Rect * srcrect, SDL_UpperBlit(SDL_Surface * src, const SDL_Rect * srcrect,
SDL_Surface * dst, SDL_Rect * dstrect) SDL_Surface * dst, SDL_Rect * dstrect)
{ {
SDL_Rect fulldst; SDL_Rect fulldst;