al_set_new_bitmap_format man page

al_set_new_bitmap_format — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_set_new_bitmap_format(int format)

Description

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

See Also

ALLEGRO_PIXEL_FORMAT(3), al_get_new_bitmap_format(3), al_get_bitmap_format(3)

Referenced By

al_clone_bitmap(3), al_convert_bitmap(3), al_create_bitmap(3), al_get_new_bitmap_format(3), ALLEGRO_PIXEL_FORMAT(3), al_load_bitmap(3).

Allegro reference manual