check-gl-shader ( shader -- shader )


Vocabulary
opengl.shaders

Inputs
shaderA gl-shader object


Outputs
shaderA gl-shader object


Word description
Throws an error containing the gl-shader-info-log for the shader object if it failed to compile. Otherwise, the shader object is left on the stack.

Definition