al_set_new_bitmap_format(3)

al_set_new_bitmap_format3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_set_new_bitmap_format(int format)

Overview

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.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.