View Full Version : glDrawArray
03-29-2005, 10:43 AM
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?
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.