PDA

View Full Version : Apple glEnableVertexAttribArray throws GL_INVALID_OPERATION



mlfarrell
11-04-2013, 11:33 PM
Porting a legacy app to core profile. I believe I have everything set up correctly, all uniforms locations and vertex attributes properly bound ahead of time.

Once again, apple appears to not be following the GL spec correctly and throwing an error both at the wrong time and not defined for this function.

glEnableVertexAttribArray(0)

is throwing GL_INVALID_OPERATION. Everything seems to be in order. Don't know what the heck is going wrong. )

Are VAOs required now or something?

mlfarrell
11-04-2013, 11:55 PM
answering my own question again
http://forum.openscenegraph.org/viewtopic.php?t=10001

sigh. you guys sure aren't giving us anything for free with this core profile...