al_set_new_bitmap_format

void al_set_new_bitmap_format(int format)
Introduced in 5.0.0

Sets the pixel format for newly created bitmaps. The default format is 0 and means the display driver will choose the best format.

See also: ALLEGRO_PIXEL_FORMAT, al_get_new_bitmap_format, al_get_bitmap_format

Examples: ex_blend_test, ex_convert, ex_draw, ex_pixelformat, ex_threads2


Most helpful discussions:

Other recent discussions: