Feature request: SDL_CreateRGBPixelFormat

SDL_PixelFormat *SDL_CreateRGBPixelFormat(Uint32 flags, int width, int height,
int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);

and simplified versions, working like SDL_SetVideoMode:
(AFAIR it isn’t possible in C to define two functions with same name, but I
have no ideas for better ones)

SDL_Surface *SDL_CreateRGBSurface(Uint32 flags, int width, int height, int
depth);

SDL_PixelFormat *SDL_CreateRGBPixelFormat(Uint32 flags, int width, int height,
int depth);

Why not?–
http://decopter.sf.net - free unrealistic helicopter simulator