mirror of
https://github.com/yawut/SDL.git
synced 2026-06-04 07:14:16 -05:00
The source rectangle isn't modified in SDL_UpperBlit
This commit is contained in:
parent
5071d8ac2a
commit
cead9cf66b
|
|
@ -585,7 +585,7 @@ extern DECLSPEC int SDLCALL SDL_BlendFillRects
|
|||
* rectangle validation and clipping before passing it to SDL_LowerBlit()
|
||||
*/
|
||||
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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -640,7 +640,7 @@ SDL_LowerBlit(SDL_Surface * src, SDL_Rect * srcrect,
|
|||
|
||||
|
||||
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_Rect fulldst;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user