-
glDrawArray
I would like to use glDrawArray(), but I seem to have some probs at the boundary of C++ and glDrawArray(). Do you know a good link or example?
-
Advanced Member
Frequent Contributor
Re: glDrawArray
I don't have a link but I suggest you check your array or the things you're fetching to it.
Also check GL state. Maybe you enabled, say, TEXTURE_ARRAY and forgot to turn it off so, when you render geometry-only you get an access violation.
It's quite a while I don't use it, but I've never had any problem.
There are tons of tutorials around. Check the old GL spec (still useful today if you're new to vertex arrays) or try http://nehe.gamedev.net.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules