| Reference Manual - 1.4.13
IDirectFB | CreatePalette

#### Create a palette matching the specified description.

DFBResult CreatePalette (
| IDirectFB |  | * | thiz,
| const DFBPaletteDescription |  | * | desc,
| IDirectFBPalette |  | ** | ret_interface
);

Passing a NULL description creates a default palette with 256 entries filled with colors matching the RGB332 format.

| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License