al_get_opengl_program_object - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_opengl.h>

GLuint al_get_opengl_program_object(ALLEGRO_SHADER *shader)

Description

Returns the OpenGL program object associated with this shader, if the platform is ALLEGRO_SHADER_GLSL. Otherwise, returns 0.

Info

Allegro reference manual