added glfw::swap_interval