Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: [GLSPEC4.1] - Mistake

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2011

    [GLSPEC4.1] - Mistake


    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 ?!

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Dec 2007

    Re: [GLSPEC4.1] - Mistake

    Quote Originally Posted by OpenGL 4.1 specification
    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.
    Disclaimer: This is my personal profile. Whatever I write here is my personal opinion and none of my statements or speculations are anyhow related to my employer and as such should not be treated as accurate or valid and in no case should those be considered to represent the opinions of my employer.
    Technical Blog:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts