Fixed a bug where the instance was not properly set
This commit is contained in:
parent
c7c11d04b1
commit
1974437c4e
|
@ -29,6 +29,8 @@ public class InputBus
|
|||
GLFW.glfwSetCursorPosCallback(display.getWindowPointer(), instance.cursorPosition);
|
||||
GLFW.glfwSetScrollCallback(display.getWindowPointer(), instance.scroll);
|
||||
GLFW.glfwSetCharCallback(display.getWindowPointer(), instance.charInput);
|
||||
|
||||
INSTANCE.set(instance);
|
||||
}
|
||||
|
||||
public static void destroy()
|
||||
|
|
Loading…
Reference in New Issue