include/SDL_surface.h
changeset 2828 7e5ff6cd05bf
parent 2807 365fe1a2aad5
child 2859 99210400e8b9
     1.1 --- a/include/SDL_surface.h	Wed Dec 03 11:09:58 2008 +0000
     1.2 +++ b/include/SDL_surface.h	Wed Dec 03 12:10:51 2008 +0000
     1.3 @@ -462,16 +462,16 @@
     1.4       SDL_Surface * dst, SDL_Rect * dstrect);
     1.5  
     1.6  /**
     1.7 - * \fn int SDL_SoftStretch(SDL_Surface * src, SDL_Rect * srcrect, SDL_Surface * dst, SDL_Rect * dstrect)
     1.8 + * \fn int SDL_SoftStretch(SDL_Surface * src, const SDL_Rect * srcrect, SDL_Surface * dst, const SDL_Rect * dstrect)
     1.9   *
    1.10   * \brief Perform a fast, low quality, stretch blit between two surfaces of the same pixel format.
    1.11   *
    1.12   * \note This function uses a static buffer, and is not thread-safe.
    1.13   */
    1.14  extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src,
    1.15 -                                            SDL_Rect * srcrect,
    1.16 +                                            const SDL_Rect * srcrect,
    1.17                                              SDL_Surface * dst,
    1.18 -                                            SDL_Rect * dstrect);
    1.19 +                                            const SDL_Rect * dstrect);
    1.20  
    1.21  /* Ends C function definitions when using C++ */
    1.22  #ifdef __cplusplus