Login  Register

GL2ES2 : glEnableClientState(GL2ES2.GL_VERTEX_ARRAY) issue

Posted by vslash on Mar 05, 2013; 8:48am
URL: https://forum.jogamp.org/GL2ES2-glEnableClientState-GL2ES2-GL-VERTEX-ARRAY-issue-tp4028490.html

Hi,
 gl = drawable.getGL().getGL2ES2();
 gl.glEnableClientState(GL2ES2.GL_VERTEX_ARRAY);   ==> enum doesn't exist with GL2ES2

and
gl.glEnableClientState(GLPointerFunc.GL_VERTEX_ARRAY);  ==> method undefined for GL2ES2 type.

If i understand, we cannot activate the VA, and there will be not rendering at all through glDrawElements

So, how to use VBO with ES2 ?

Thanks,