View Full Version : glVertexPointer(parameters)?
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.
It didnt't compile with 5 params.
The error was just illegal pointer (as usual) and it works now fine. Thanks!
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.