Used GLFW enums instead of ints