Minimal VAO created in subroutine