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); }
public static void logOpenGl() { GLUtil.setupDebugMessageCallback(instance); }