include/SDL_surface.h
changeset 6041 69d7539ff51f
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
equal deleted inserted replaced
6040:08aa9c1dfed6 6041:69d7539ff51f
   353 extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurfaceFormat
   353 extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurfaceFormat
   354     (SDL_Surface * src, Uint32 pixel_format, Uint32 flags);
   354     (SDL_Surface * src, Uint32 pixel_format, Uint32 flags);
   355 
   355 
   356 /**
   356 /**
   357  * \brief Copy a block of pixels of one format to another format
   357  * \brief Copy a block of pixels of one format to another format
       
   358  *  
       
   359  *  \return 0 on success, or -1 if there was an error
   358  */
   360  */
   359 extern DECLSPEC int SDLCALL SDL_ConvertPixels(int width, int height,
   361 extern DECLSPEC int SDLCALL SDL_ConvertPixels(int width, int height,
   360                                               Uint32 src_format,
   362                                               Uint32 src_format,
   361                                               const void * src, int src_pitch,
   363                                               const void * src, int src_pitch,
   362                                               Uint32 dst_format,
   364                                               Uint32 dst_format,