I have had a talk about this on IRC and I was told that the second version is correct (requiring an Element Buffer to be bound) even if it worked if used according to the first definition. I am not sure how exactly it should be formulated (or whether this is a matter of OpenGL version) but this inconsistency in wording certainly needs to be fixed.
1) From https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glDrawElements.xhtml: "indices: Specifies a pointer to the location where the indices are stored."
2) From https://www.khronos.org/opengl/wiki/GLAPI/glDrawElements: "indices: Specifies a byte offset (cast to a pointer type) into the buffer bound to GL_ELEMENT_ARRAY_BUFFER to start reading indices from."
I have had a talk about this on IRC and I was told that the second version is correct (requiring an Element Buffer to be bound) even if it worked if used according to the first definition. I am not sure how exactly it should be formulated (or whether this is a matter of OpenGL version) but this inconsistency in wording certainly needs to be fixed.