diff options
author | Li Wenhao <gliwenhao@gmail.com> | 2009-07-29 14:45:08 +0800 |
---|---|---|
committer | Jack Palevich <jackpal@google.com> | 2009-12-02 21:15:33 -0800 |
commit | 51438c18f5af96c16ac33a85b3ebaacf200b7b5e (patch) | |
tree | 370d6bcb2e20899100ae4f1ea70976bcb2b6c322 /opengl/java/android | |
parent | a45e925108f6c9d35d9e7b5e8def9aba49ee0dba (diff) | |
download | frameworks_base-51438c18f5af96c16ac33a85b3ebaacf200b7b5e.zip frameworks_base-51438c18f5af96c16ac33a85b3ebaacf200b7b5e.tar.gz frameworks_base-51438c18f5af96c16ac33a85b3ebaacf200b7b5e.tar.bz2 |
the vertex index should be "first + i".
Diffstat (limited to 'opengl/java/android')
-rw-r--r-- | opengl/java/android/opengl/GLLogWrapper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/java/android/opengl/GLLogWrapper.java b/opengl/java/android/opengl/GLLogWrapper.java index 4119bf8..f332448 100644 --- a/opengl/java/android/opengl/GLLogWrapper.java +++ b/opengl/java/android/opengl/GLLogWrapper.java @@ -1517,7 +1517,7 @@ class GLLogWrapper extends GLWrapperBase { arg("count", count); startLogIndices(); for (int i = 0; i < count; i++) { - doElement(mStringBuilder, i, first + count); + doElement(mStringBuilder, i, first + i); } endLogIndices(); end(); |