al_color_rgb_to_linear(3alleg5)

al_color_rgb_to_linear3alleg5

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

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.