Indexed color still around for SDL2? |
Indexed color still around for SDL2? |
Sam Lantinga
|
SDL 2.0 mostly just has support for palettes in SDL_Surface, but not textures. It will automatically convert paletted surfaces to truecolor when uploading them to textures.
There are some neat tricks you can do with single channel textures and shaders, but they're outside the scope of the SDL 2D API, and you should use OpenGL directly for those. On Fri, May 10, 2013 at 6:50 PM, Joshua Brown wrote:
|
|||||||||||||
|