al_put_pixel(3)

al_put_pixel3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_put_pixel(int x, int y, ALLEGRO_COLOR color)

Overview

Draw a single pixel on the target bitmap. This operation is slow on non-memory bitmaps. Consider locking the bitmap if you are going to use this function multiple times on the same bitmap. This function is not affected by the transformations or the color blenders.

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