diff include/SDL_video.h @ 130:14af14ff7c19

The rectangle argument to SDL_SetClipRect is really const
author Sam Lantinga <slouken@libsdl.org>
date Tue, 31 Jul 2001 05:36:10 +0000
parents 45b1c4303f87
children b8688cfdc232
line wrap: on
line diff
--- a/include/SDL_video.h	Tue Jul 31 04:06:56 2001 +0000
+++ b/include/SDL_video.h	Tue Jul 31 05:36:10 2001 +0000
@@ -593,7 +593,7 @@
  * Note that blits are automatically clipped to the edges of the source
  * and destination surfaces.
  */
-extern DECLSPEC SDL_bool SDL_SetClipRect(SDL_Surface *surface, SDL_Rect *rect);
+extern DECLSPEC SDL_bool SDL_SetClipRect(SDL_Surface *surface, const SDL_Rect *rect);
 
 /*
  * Gets the clipping rectangle for the destination surface in a blit.