include/SDL_surface.h
changeset 11289 ca3c2c98f2e1
parent 11284 3db78361e751
child 11702 cf166abbde4a
     1.1 --- a/include/SDL_surface.h	Mon Aug 14 10:28:47 2017 -0700
     1.2 +++ b/include/SDL_surface.h	Mon Aug 14 13:37:14 2017 -0700
     1.3 @@ -359,6 +359,11 @@
     1.4  extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface * surface,
     1.5                                               SDL_Rect * rect);
     1.6  
     1.7 +/*
     1.8 + * Creates a new surface identical to the existing surface
     1.9 + */
    1.10 +extern DECLSPEC SDL_Surface *SDLCALL SDL_DuplicateSurface(SDL_Surface * surface);
    1.11 +
    1.12  /**
    1.13   *  Creates a new surface of the specified format, and then copies and maps
    1.14   *  the given surface to it so the blit of the converted surface will be as