I\'m following a tutorial on youtube but I have a problem with OpenGL that I\'m not able to solve. I have no idea how I can fix it.
Exception in thread \"En
OpenGL contexts are bound to a thread when they are created, so they can only be used from that thread. See the answer here.
You need to call glfwMakeContextCurrent to bind the OpenGL context to your thread. There's a working example on the LWJGL website as well.