Revert "Creating vertex arrays is now a function"

This reverts commit 48466a7b527da565b716c7543c17f0e0e0bcf6a8.