I originally posted this on JGO, but realize it may be better answered here:
Can anyone post an example or point to an example of rendering something simple such as a color triangle using glVertexPointer and glColorPointer? I am unable to get anything displayed and am unsure where my problem lies. I believe it has to do with how I am setting up the FloatBuffers. I am not getting any exceptions/errors, just nothing displayed. Any help would be appreciated.
Thanks.
Nevermind, found my problem. Simple matter of incorrectly loading the arrays before placing them in the buffers.