Hello, im Serge and im porting game from C# to java using lwjgl 3
i need to get cursor(mouse) position i found that glfwGetCurcorPos can do it.
so i use this :
ByteBuffer x = ByteBuffer.allocate(8);
ByteBuffer y = ByteBuffer.allocate(8);
GLFW.glfwGetCursorPos(AntiheusLab.window , x , y);
and i get 0 in x and 0 in y. ofc it can be a bug because same(adapted) code workin in c#