Mercurial > sdl-ios-xcode
diff include/SDL_surface.h @ 2828:7e5ff6cd05bf
Added very slow software scaling to the X11 renderer
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 03 Dec 2008 12:10:51 +0000 |
parents | 365fe1a2aad5 |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/include/SDL_surface.h Wed Dec 03 11:09:58 2008 +0000 +++ b/include/SDL_surface.h Wed Dec 03 12:10:51 2008 +0000 @@ -462,16 +462,16 @@ SDL_Surface * dst, SDL_Rect * dstrect); /** - * \fn int SDL_SoftStretch(SDL_Surface * src, SDL_Rect * srcrect, SDL_Surface * dst, SDL_Rect * dstrect) + * \fn int SDL_SoftStretch(SDL_Surface * src, const SDL_Rect * srcrect, SDL_Surface * dst, const SDL_Rect * dstrect) * * \brief Perform a fast, low quality, stretch blit between two surfaces of the same pixel format. * * \note This function uses a static buffer, and is not thread-safe. */ extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src, - SDL_Rect * srcrect, + const SDL_Rect * srcrect, SDL_Surface * dst, - SDL_Rect * dstrect); + const SDL_Rect * dstrect); /* Ends C function definitions when using C++ */ #ifdef __cplusplus