summaryrefslogtreecommitdiff
path: root/include/SDL_surface.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-01-04 10:19:24 -0800
committerSam Lantinga <slouken@libsdl.org>2011-01-04 10:19:24 -0800
commit1aafd214bc9b428725586fc24c53b323d484d61b (patch)
tree55c503bcc7c4649d3726055080eb775d1464f359 /include/SDL_surface.h
parentb0013376ccf2b306b68d912fb21d18d9f206de29 (diff)
downloadsdl-1aafd214bc9b428725586fc24c53b323d484d61b.tar.gz
The source rectangle isn't modified in SDL_UpperBlit
Diffstat (limited to 'include/SDL_surface.h')
-rw-r--r--include/SDL_surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_surface.h b/include/SDL_surface.h
index 63c4fac49..fed201a80 100644
--- a/include/SDL_surface.h
+++ b/include/SDL_surface.h
@@ -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);
/**