include/SDL_surface.h
changeset 3434 147d6ef5be03
parent 3407 d3baf5ac4e37
child 3536 0267b8b1595c
     1.1 --- a/include/SDL_surface.h	Sun Nov 15 08:01:34 2009 +0000
     1.2 +++ b/include/SDL_surface.h	Sun Nov 15 09:21:46 2009 +0000
     1.3 @@ -387,6 +387,15 @@
     1.4      (SDL_Surface * src, SDL_PixelFormat * fmt, Uint32 flags);
     1.5  
     1.6  /**
     1.7 + * \brief Copy a block of pixels of one format to another format
     1.8 + */
     1.9 +extern DECLSPEC int SDLCALL SDL_ConvertPixels(int width, int height,
    1.10 +                                              Uint32 src_format,
    1.11 +                                              const void * src, int src_pitch,
    1.12 +                                              Uint32 dst_format,
    1.13 +                                              void * dst, int dst_pitch);
    1.14 +
    1.15 +/**
    1.16   *  Draws a point with \c color.
    1.17   *
    1.18   *  The color should be a pixel of the format used by the surface, and