Use vertex arrays when possible.