migrated project from glfw2 to glfw3