Fixed bug 2441 - SDL_DuplicateSurface

Rainer Deyke

I've written a small patch that adds a small SDL_DuplicateSurface function to SDL.  I've written the function as part of a larger (as yet unfinished) patch, but I think this function is useful enough that it merits inclusion in SDL on its own.
This commit is contained in:
Sam Lantinga 2017-08-14 13:37:14 -07:00
parent 362d549690
commit f142a7961e
4 changed files with 25 additions and 0 deletions

View file

@ -628,3 +628,4 @@
#define SDL_LoadFile_RW SDL_LoadFile_RW_REAL
#define SDL_wcscmp SDL_wcscmp_REAL
#define SDL_ComposeCustomBlendMode SDL_ComposeCustomBlendMode_REAL
#define SDL_DuplicateSurface SDL_DuplicateSurface_REAL