Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants

every single fuckening day
How documentation works
TIL that WebGL treats IBOs and VBOs differently from actual GL, supposedly because it makes security validation easier.
That means you can't `glBindBuffer` to some target and fill in the data, because when you later `glBindBuffer` to `GL_ELEMENT_ARRAY_BUFFER` you'll get 0x0502 GL_INVALID_OPERATION.
One problem though. This is not documented *anywhere*, either in WebGL `.bindBuffer()` or in the GL ES `glBindBuffer` :V
rant
documentation
opengl
webgl