You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
From https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glDrawElements.xhtml:
"indices: Specifies a pointer to the location where the indices are stored."
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.
The text was updated successfully, but these errors were encountered: