comparison 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
comparison
equal deleted inserted replaced
129:db0bee1c5845 130:14af14ff7c19
591 * the intersection of the surface area and the clipping rectangle. 591 * the intersection of the surface area and the clipping rectangle.
592 * 592 *
593 * Note that blits are automatically clipped to the edges of the source 593 * Note that blits are automatically clipped to the edges of the source
594 * and destination surfaces. 594 * and destination surfaces.
595 */ 595 */
596 extern DECLSPEC SDL_bool SDL_SetClipRect(SDL_Surface *surface, SDL_Rect *rect); 596 extern DECLSPEC SDL_bool SDL_SetClipRect(SDL_Surface *surface, const SDL_Rect *rect);
597 597
598 /* 598 /*
599 * Gets the clipping rectangle for the destination surface in a blit. 599 * Gets the clipping rectangle for the destination surface in a blit.
600 * 'rect' must be a pointer to a valid rectangle which will be filled 600 * 'rect' must be a pointer to a valid rectangle which will be filled
601 * with the correct values. 601 * with the correct values.