Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

The source rectangle isn't modified in SDL_UpperBlit

  • Loading branch information
slouken committed Jan 4, 2011
1 parent 4263b4f commit d9de3e6147911464a4b0ed58da69ad0bb97f6747
Showing with 2 additions and 2 deletions.
  1. +1 −1 include/SDL_surface.h
  2. +1 −1 src/video/SDL_surface.c
@@ -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;

0 comments on commit d9de3e6

Please sign in to comment.