Mark Sibly <email@hidden> wrote:
> This looks like a bug to me, as I would have though enabling
> attribArray 0 was the same as enabling vertex_array.
Nope - enabling attrib 0 should certainly *not* implicity enable
GL_VERTEX_ARRAY. No other part of the GL API does that and it'd be
bad, bad, bad to do.
glEnableClientState is going to setup the required structures to hold
the various array attributes. Without calling that the
glEnableVertexAttribArrayARB calls are "untargetted" and the behaviour
is likely undefined. I haven't read the spec recently though so can't
say for certain. Not crashing on the PC is part of the magic of being
undefined behaviour. On the other hand not crashing is a nicer form of
undefined behaviour. :)
Take care,
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden