include/SDL_surface.h
changeset 11289 ca3c2c98f2e1
parent 11284 3db78361e751
child 11702 cf166abbde4a
equal deleted inserted replaced
11288:47a5a4999180 11289:ca3c2c98f2e1
   357  *  with the correct values.
   357  *  with the correct values.
   358  */
   358  */
   359 extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface * surface,
   359 extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface * surface,
   360                                              SDL_Rect * rect);
   360                                              SDL_Rect * rect);
   361 
   361 
       
   362 /*
       
   363  * Creates a new surface identical to the existing surface
       
   364  */
       
   365 extern DECLSPEC SDL_Surface *SDLCALL SDL_DuplicateSurface(SDL_Surface * surface);
       
   366 
   362 /**
   367 /**
   363  *  Creates a new surface of the specified format, and then copies and maps
   368  *  Creates a new surface of the specified format, and then copies and maps
   364  *  the given surface to it so the blit of the converted surface will be as
   369  *  the given surface to it so the blit of the converted surface will be as
   365  *  fast as possible.  If this function fails, it returns NULL.
   370  *  fast as possible.  If this function fails, it returns NULL.
   366  *
   371  *