am cefdedc3: merge from froyo-plus-aosp

This commit is contained in:
The Android Open Source Project
2010-06-07 16:45:04 -07:00
committed by Android Git Automerger
2 changed files with 22 additions and 10 deletions

View File

@@ -1232,7 +1232,7 @@ public class Canvas {
checkRange(texs.length, texOffset, vertexCount);
}
if (colors != null) {
checkRange(colors.length, colorOffset, vertexCount);
checkRange(colors.length, colorOffset, vertexCount / 2);
}
if (indices != null) {
checkRange(indices.length, indexOffset, indexCount);