[SDL] SDL2.0 wish-list

Jonathan Atkins jcatki at jcatki.no-ip.org
Fri Feb 25 22:52:37 PST 2005


I'd wish for openGL compatible format enums so that GL_RGB,GL_UNSIGNED_SHORT_5_6_5 would become the same pixel format in SDL.
I say this for being more easily direct with code, instead of having to check endianess for RGB vs. BGR ordering...
also it would help define the commonly used formats for easy use.
this might be a seperate function from SDL_CreateRGBSurface, or a #define trick...
I've been thinking of doing this in SDL1.2 as an addon, but it wouldn't get the same integration there.

And I hear there's support for the gl pbuffer extension...
where a surface's pixels are already a texture...
if so, it should be in 2.0 too!

-LIM-




More information about the SDL mailing list