(gl-program) ( shaders quot: ( gl-program -- ) -- program )


Vocabulary
opengl.shaders

Inputs
shadersa sequence
quota quotation


Outputs
programa new gl-program


Word description
Creates a gl program and attaches the shaders to it. Then applies the quotation to the program and finally links it.

Errors
Throws a gl error if linking the program fails.

Definition