List of usage examples for org.lwjgl.opengl GL destroy
public static void destroy()
From source file:com.samrj.devil.gl.DGL.java
License:Open Source License
/** * Destroys DevilGL and releases all associated resources. *///from ww w .ja v a2s.c om public static void destroy() { checkState(); init = false; objects = null; VAO.terminate(); boundProgram = null; readFBO = null; drawFBO = null; DGLException.terminate(); thread = null; capabilities = null; GL.destroy(); }