Added a FIXME for 2.1 about an API change.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 09 Aug 2017 00:55:27 -0400
changeset 111973fc7293bcc82
parent 11196 c6e58fceba42
child 11198 2b4146f70a85
Added a FIXME for 2.1 about an API change.
include/SDL_surface.h
     1.1 --- a/include/SDL_surface.h	Tue Aug 08 20:38:23 2017 -0700
     1.2 +++ b/include/SDL_surface.h	Wed Aug 09 00:55:27 2017 -0400
     1.3 @@ -118,8 +118,11 @@
     1.4  extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurface
     1.5      (Uint32 flags, int width, int height, int depth,
     1.6       Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
     1.7 +
     1.8 +/* !!! FIXME for 2.1: why does this ask for depth? Format provides that. */
     1.9  extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceWithFormat
    1.10      (Uint32 flags, int width, int height, int depth, Uint32 format);
    1.11 +
    1.12  extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels,
    1.13                                                                int width,
    1.14                                                                int height,