when attaching a VertexArray to GL, assert that the arrays are not empty