Class GLUT_windows

java.lang.Object
panamagl.platform.windows.GLUT_windows

public class GLUT_windows extends Object
Load and initialize freeglut lazily, as it is optional on Windows : the WGL context and the OpenGL and GLU functions do not need it. init() must be invoked before any GLUT function of the binding (gl_h.glut*), which it does for : Code invoking GLUT functions of the binding directly must invoke init() first :
  • the binding resolves the address of a function at its first invocation, and fails for good if freeglut is not loaded yet,
  • freeglut exits the process if a function is invoked before glutInit.