LWJGL / lwjgl3-wiki

The LWJGL 3 Wiki
415 stars 35 forks source link

Syntax Error in Input Handling Tutorial #8

Closed jontyrudman closed 4 years ago

jontyrudman commented 4 years ago

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.

Here's the page on the wiki

SilverTiger commented 4 years ago

Thanks! Fixed with cc2c58a.