Index: src/gpu/GrContext.cpp |
=================================================================== |
--- src/gpu/GrContext.cpp (revision 8471) |
+++ src/gpu/GrContext.cpp (working copy) |
@@ -976,6 +976,7 @@ |
if (NULL != indices) { |
target->setIndexSourceToArray(indices, indexCount); |
target->drawIndexed(primitiveType, 0, 0, vertexCount, indexCount); |
+ target->resetIndexSource(); |
} else { |
target->drawNonIndexed(primitiveType, 0, vertexCount); |
} |