How can I get the palette of an 8-bit surface in SDL.NET/Tao.SDL?
- by lolmaster
I'm looking to get the palette of an 8-bit surface in SDL.NET if possible, or (more than likely) using Tao.SDL. This is because I want to do palette swapping with the palette directly, instead of blitting surfaces together to replace colours like how you would do it with a 32-bit surface.
I've gotten the SDL_Surface and the SDL_PixelFormat,…