예제 #1
0
파일: GwtGL20.java 프로젝트: moly/libgdx
 @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...
 }
예제 #2
0
파일: GwtGL20.java 프로젝트: moly/libgdx
 @Override
 public void glDrawElements(int mode, int count, int type, int indices) {
   gl.drawElements(mode, count, type, indices);
 }