The source rectangle isn't modified in SDL_UpperBlit
This commit is contained in:
parent
0398104662
commit
c7c6cb464a
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue