Creating vertex arrays is now a function