Is drawing using glArrayElement between glBegin()/glEnd() as eff. as glDrawElements?
I.e. e.g.
glEnableClientState( GL_VERTEX_ARRAY );
glEnableClientState( GL_COLOR_ARRAY );
glVertexPointer( 2, GL_INT, 0, vertices );
glColorPointer( 3, GL_FLOAT, 0, colors );
glBegin( GL_TRIANGLES );
glArrayElement( 1 );
glArrayElement( ... );
glArrayElement( n );
glEnd();
VS
glEnableClientState( GL_VERTEX_ARRAY );
glEnableClientState( GL_COLOR_ARRAY );
glVertexPointer( 2, GL_INT, 0, vertices );
glColorPointer( 3, GL_FLOAT, 0, colors );
glDrawArrays(...)
...