al_color_rgb_to_linear(3)

al_color_rgb_to_linear3

Allegro 5 api

Usage

#include <allegro5/allegro_color.h>
void al_color_rgb_to_linear(float red, float green, float blue,
   float *r, float *g, float *b)

Overview

Convert gamma corrected sRGB values (i.e. normal RGB) to linear sRGB space.

Since

5.2.8

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