Display or glfw

Started by tripleaaa, July 19, 2015, 10:46:00

Previous topic - Next topic

tripleaaa

Hi guys.
I am new to lwjgl 3.

Should i use opengl.Display or glfw in order to create a window?

The lwjgl wiki uses Display but on the official lwjgl site they use glfw in the HelloWorld example.

Thanks
tripleaaa

kappa

LWJGL3 has not Display class (that was only in LWJGL2), you should therefore use GLFW to create a window in LWJGL3.

SHC

The Display class is from LWJGL2, and is no more in LWJGL3. If you are interested in using LWJGL3, it is recommended that you use GLFW, or try a library such as LWJGLX, which implements a LWJGL2 compatible Display class on top of GLFW.

tripleaaa