Class GLUTContext_macOS

java.lang.Object
panamagl.opengl.AGLContext
panamagl.platform.macos.GLUTContext_macOS
All Implemented Interfaces:
panamagl.opengl.GLContext

public class GLUTContext_macOS extends panamagl.opengl.AGLContext implements panamagl.opengl.GLContext
This GLUT GLContext initialize a GLUT offscreen context allowing to then invoke GL methods. NB : glutInit() should only be called once. In case part of the program invokes it, it is possible to initialize the window without calling glutInit by instead calling GLUTContext.init(false)
Author:
Martin Pernollet