Commit c7c6cb46 authored by Sam Lantinga's avatar Sam Lantinga

The source rectangle isn't modified in SDL_UpperBlit

parent 03981046
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment