SDL_AllocPalette
Use this function to create a palette structure with the specified number of color entries.
1. Syntax
SDL_Palette * SDL_AllocPalette (int ncolors)
2. Function Parameters
3. Return Value
A new palette, or NULL if there wasn't enough memory
4. Code Examples
5. Remarks
The palette entries are initialized to white.
