set_gdi_color_format

Tells Allegro to use the GDI color layout for truecolor images.

Description

void set_gdi_color_format(void);
Tells Allegro to use the GDI color layout for truecolor images. This is optional, but it will make the conversions work faster. If you are going to call this, you should do it right after initialising Allegro and before creating any graphics.

Related Projects

The following projects include source code containing this keyword: