al_get_shader_log(3)

al_get_shader_log3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
const char *al_get_shader_log(ALLEGRO_SHADER *shader)

Overview

Return a read-only string containing the information log for a shader program. The log is updated by certain functions, such as al_attach_shader_source(3) or al_build_shader(3) when there is an error.

This function never returns NULL.

Since

5.1.0

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