Fix copy/paste issue in GrInOrderDrawBuffer.

git-svn-id: http://skia.googlecode.com/svn/trunk@3257 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-02-24 20:11:52 +00:00
parent 421bcc375a
commit d127ffe92c

View File

@ -246,7 +246,7 @@ void GrInOrderDrawBuffer::onDrawIndexed(GrPrimitiveType primitiveType,
poolState.fUsedPoolIndexBytes =
GrMax(poolState.fUsedPoolIndexBytes, indexBytes);
draw.fIndexBuffer = poolState.fPoolIndexBuffer;
draw.fStartIndex += poolState.fPoolStartVertex;
draw.fStartIndex += poolState.fPoolStartIndex;
break;
}
default: