LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: spasi on November 20, 2015, 23:49:20

Title: LWJGL 3.0.0b
Post by: spasi on November 20, 2015, 23:49:20
LWJGL 3.0.0b has been released!

Visit the download (https://www.lwjgl.org/download) page to get it. You can also get it from Maven Central or this direct link (http://build.lwjgl.org/release/3.0.0b/lwjgl-3.0.0b.zip).

Release notes:
Changes to bindings:
Title: Re: LWJGL 3.0.0b
Post by: jamstang on December 29, 2015, 01:24:39
Hi, I am trying to use EGL stuff but found EGL related libs were not shipped with the release package. Where can I find a built one, especially for Mac?

Thanks.
Title: Re: LWJGL 3.0.0b
Post by: spasi on December 29, 2015, 15:54:28
EGL is not supported on OS X. You may be able to find a library that emulates it on top of desktop GL (http://malideveloper.arm.com/resources/tools/opengl-es-emulator/) or Metal (https://metalgl.com/).
Title: Re: LWJGL 3.0.0b
Post by: msx on March 17, 2016, 10:22:26
Hi there, i couldn't find more info about the latest api changes other than what's in this document (https://github.com/LWJGL/lwjgl3/blob/master/doc/notes/3.0.0b.md).

I updated the library and now have this two problems:

GLContext.createFromCurrent();
It looks like GLContext is not there anymore?

glfwSetErrorCallback(errorCallback = errorCallbackThrow());
errorCallbackThrow looks removed too.

Any quick replacement for the two lines? Or if it's more complex than it looks, should i stay with current 3.0.0.a version ?

Thanks
Title: Re: LWJGL 3.0.0b
Post by: spasi on March 17, 2016, 11:12:32
Hey msx,

Quote from: msx on March 17, 2016, 10:22:26GLContext.createFromCurrent();
It looks like GLContext is not there anymore?

Yes, GLContext has been removed. You should now use GL.createCapabilities();

Quote from: msx on March 17, 2016, 10:22:26glfwSetErrorCallback(errorCallback = errorCallbackThrow());
errorCallbackThrow looks removed too.

These have been moved to the GLFWErrorCallback class as factory methods. Try GLFWErrorCallback.createThrow();