Java 类org.lwjgl.opengl.GLUtil 实例源码

项目:Java-GLEngine    文件:LWJGLGLContext.java   
public LWJGLGLContext(boolean core) {
    context = org.lwjgl.opengl.GL.createCapabilities(core && Platform.get() == Platform.MACOSX);
    debugClosure = GLUtil.setupDebugMessageCallback();
    Configuration.DEBUG.set(true);
    erasableList = new ArrayList<>();
    GLContext._ctxs.put(Thread.currentThread(), this);
}
项目:yaw    文件:LoggerYAW.java   
public static void logOpenGl() {
    GLUtil.setupDebugMessageCallback(instance);
}