link_program

Links an already created OpenGL program.

void
link_program
(
GLuint program
,
string filename = "<unknown>"
)

Parameters

program GLuint

The OpenGL program.

filename string

Used to identify the shader, if an error occurs.

Throws

ShaderException on failure.

Meta