diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2017-08-09 00:55:27 -0400 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2017-08-09 00:55:27 -0400 |
commit | 539464360743cba44a03953c593d74b0e7468ee2 (patch) | |
tree | 96ca6ddf32f3c36dd3ca7e28060c327e6de55fc2 /include/SDL_surface.h | |
parent | c0f76a74e3c560c720f49a559bc0bb6aa202c201 (diff) | |
download | sdl-539464360743cba44a03953c593d74b0e7468ee2.tar.gz |
Added a FIXME for 2.1 about an API change.
Diffstat (limited to 'include/SDL_surface.h')
-rw-r--r-- | include/SDL_surface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/SDL_surface.h b/include/SDL_surface.h index f685f0f2e..62f713aa0 100644 --- a/include/SDL_surface.h +++ b/include/SDL_surface.h @@ -118,8 +118,11 @@ typedef int (*SDL_blit) (struct SDL_Surface * src, SDL_Rect * srcrect, extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurface (Uint32 flags, int width, int height, int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); + +/* !!! FIXME for 2.1: why does this ask for depth? Format provides that. */ extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceWithFormat (Uint32 flags, int width, int height, int depth, Uint32 format); + extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels, int width, int height, |