View Full Version : glVertexPointer(parameters)?

07-01-2001, 02:27 AM
MSDN do says it takes 5 parameters. gl/gl.h says it takes 4 params. The vertex count parameter is missing in gl.h. Whay is that? Which is correct?
Also I can't run my app (runtime error).

07-01-2001, 03:36 AM
Well spotted http://www.opengl.org/discussion_boards/ubb/smile.gif MSDN is wrong. You would have found that out if you tried to compile it with 5 params I imagine. M$ is not the biggest OpenGL fan so maybe they messed up on purpose? http://www.opengl.org/discussion_boards/ubb/wink.gif If you want information about your app, you'll have to post more information. What's the error? Any compilation warnings? What's the compiler? etc...

Hope that helps.

07-01-2001, 05:19 AM
It didnt't compile with 5 params.
The error was just illegal pointer (as usual) and it works now fine. Thanks!