Jump to content
  • Advertisement
Sign in to follow this  
gerbenvv

OpenGL MSDN seems to give glTexCoordPointer 5 parms

This topic is 4699 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, It seems MSDN gives glTexCoordPointer 5 parameters. [smile] Link Is this just wrong, or is this parameter added in a new version of openGL? Gerben VV

Share this post


Link to post
Share on other sites
Advertisement
The link provided shows 4 parameters.
All gl*Pointer commands USED to have five parameters, glTexCoordPointer used to be:
void glTexCoordPointer(
GLint size,
GLenum type,
GLsizei stride,
GLsizei count,
const GLvoid *pointer
);

They removed the count parameter.

Share this post


Link to post
Share on other sites
Quote:
stride
The byte offset between consecutive array elements. When stride is zero, the array elements are tightly packed in the array.
count
The number of array elements, counting from the first, that are static.
pointer

A pointer to the first coordinate of the first element in the array.


I believe this is a result of cut-and-paste[smile].

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!