2
agatha
1d

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

Comments
  • 2
    Im drunk so that might be wrong but keep in mind that OpenGL has legacy functionality while OpenGL ES has all of that cut out so some of the nice things might not be available
  • 0
    @12bitfloat GL_CONTEXT_CORE_PROFILE_BIT my beloved :3
Add Comment