the vertex index should be "first + i".

This commit is contained in:
Li Wenhao
2009-07-29 14:45:08 +08:00
parent 8ecb36eec6
commit 219749df3e

View File

@@ -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();