OpenGL ES VertexArray and not drawing properly on android

159 Views Asked by At

I'm working on a little game demo using OpenGL ES 1 and using a "BufferPool", which essentially is just a fancy interface for a direct ByteBuffer which I store all the vertex, color, and texcoord data in. I'm having some issues getting it to draw properly. I must be setting up the opengl state wrong, but I'm fairly new to OpenGL and can't tell what it is. I'd appreciate any help muchly :)

code: http://pastebin.com/bw3eM0TW

I've put it up on pastebin as there's a fair amount of code related to the BufferPool and rendering.

0

There are 0 best solutions below