PDA

View Full Version : [GLSPEC4.1] - Mistake



skypers
01-05-2011, 02:10 PM
Hi,

I figured out a mistake in the last glspec4.1, chapter 2.7 - Vertex Specification. The glVertexAttrib{123}*v is presented, but I think the glVertexAttrib4*v is missed, isn't it ?!

aqnuep
01-06-2011, 02:07 AM
void VertexAttrib{1234}{sfd}( uint index, T values );
void VertexAttrib{123}{sfd}v( uint index, const T values );
void VertexAttrib4{bsifd ub us ui}v( uint index, const T values );
void VertexAttrib4Nub( uint index, T values );
void VertexAttrib4N{bsi ub us ui}v( uint index, const T values );

No, you just missed that VertexAttrib4*v is after the {123} version as it allows more type combinations.