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