@Override public void glDrawElements(int mode, int count, int type, Buffer indices) { gl.drawElements( mode, count, type, indices.position()); // FIXME this is assuming WebGL supports client side buffers... }
@Override public void glDrawElements(int mode, int count, int type, int indices) { gl.drawElements(mode, count, type, indices); }