Problem with glDrawArrays
Posted by
Matteo Battaglio on
Aug 24, 2011; 10:06am
URL: https://forum.jogamp.org/Problem-with-glDrawArrays-tp3280569.html
Hi,
i'm sure this is a stupid problem, but I'm unable to make glDrawArrays work.
I'm trying to display a simple triangle: if I use glVertex3f(...) for each vertex it works, while if I use glDrawArrays(...) it doesn't.
I've attached my code:
Renderer.java