diff include/SDL_surface.h @ 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 158bb5752974
line wrap: on
line diff
--- a/include/SDL_surface.h	Mon Jan 03 14:39:41 2011 -0800
+++ b/include/SDL_surface.h	Tue Jan 04 10:19:24 2011 -0800
@@ -585,7 +585,7 @@
  *  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);
 
 /**