Section 10.7.4 (Transferring Vertices With ArrayElement) says:
If ArrayElement is called while primitive restart is enabled (see section 10.3.6 and i is equal to the primitive restart index, then no vertex data is dereferenced, and no current vertex state is modified. Instead, it is as if End were called, followed by a call to Begin where mode is the same as the mode used by the previous Begin.
But section 10.3.6 (Primitive Restart) says;
Note that primitive restart is not performed for array elements transferred by any drawing command not taking a type parameter, including ArrayElement and all of the *Draw* commands other than *DrawElements*.
- Is
glArrayElement subject to primitive restart or not? The two spec quotations say the opposite thing.
- Is
glDrawRangeElements subject to primitive restart or not? Section 10.3.6 seems to exclude it, but I doubt that was intended.