Re: Problem with glDrawArrays
Posted by
gouessej on
Aug 25, 2011; 6:25pm
URL: https://forum.jogamp.org/Problem-with-glDrawArrays-tp3280569p3284673.html
Maybe try to disable explicitly the color array.
Edit.: Don't do this:
Matteo Battaglio wrote
triangle = ByteBuffer.allocateDirect(triangleSizeInBytes).asFloatBuffer();
Use Buffers.newFloatBuffer.