There seems to be an extra close bracket after GLFWKeyCallback():
glfwSetKeyCallback(window, keyCallback = new GLFWKeyCallback()){
@Override
public void invoke (long window, int key, int scancode, int action, int mods) {
}
});
This caused me a headache for a good half an hour, so I thought I'd bring it up.
There seems to be an extra close bracket after
GLFWKeyCallback()
:This caused me a headache for a good half an hour, so I thought I'd bring it up.
Here's the page on the wiki