Apple glEnableVertexAttribArray throws GL_INVALID_OPERATION

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?

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…