summaryrefslogtreecommitdiff
path: root/include/SDL_surface.h
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2017-08-09 00:55:27 -0400
committerRyan C. Gordon <icculus@icculus.org>2017-08-09 00:55:27 -0400
commit539464360743cba44a03953c593d74b0e7468ee2 (patch)
tree96ca6ddf32f3c36dd3ca7e28060c327e6de55fc2 /include/SDL_surface.h
parentc0f76a74e3c560c720f49a559bc0bb6aa202c201 (diff)
downloadsdl-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.h3
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,