diff src/video/SDL_surface.c @ 4949:68da5a234bba

The source rectangle isn't modified in SDL_UpperBlit
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Jan 2011 10:19:24 -0800
parents aa8888658021
children a130bc2f0a18
line wrap: on
line diff
--- a/src/video/SDL_surface.c	Mon Jan 03 14:39:41 2011 -0800
+++ b/src/video/SDL_surface.c	Tue Jan 04 10:19:24 2011 -0800
@@ -640,7 +640,7 @@
 
 
 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;