It run on the htc device successfully!,but on emulator.... On Jun 17, 5:48 pm, john <yx.xi...@luck-u.com> wrote: > I cannotrender alargetriangle onandroid,what Icansee is a > rectangle,just like the triangle drops a corner > This is my vertex array: > [-8240, -3540, 10120, -8240, -3540, -3800, -8240, 10582, 10120] > and this is my code: > gl.glVertexPointer(va.getComponentCount(), gl.GL_SHORT, 6, vertices); > gl.glDrawArrays(gl.GL_TRIANGLES, 0, 3);
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en