Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug or just me...



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

References: 
 >Bug or just me... (From: Mark Sibly <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.