delete-gl-program ( program -- )


Inputs and outputs
programA gl-program object

Word description
Deletes the program object, invalidating it and releasing any resources allocated for it by the OpenGL implementation. Any attached gl-shaders are also deleted. If the shader objects should be preserved, they should each be detached using glDetachShader. The program object can then be destroyed alone using glDeleteProgram.