Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index b8cc788ca277cb313733c1e1a017710c2bc56833..e1b8ed5c8522b54a84df49bbe31fc4b7835fc9a3 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -366,5 +366,6 @@ void GrGpu::draw(const DrawArgs& args, const GrVertices& vertices) { |
const GrNonInstancedVertices* verts = iter.init(vertices); |
do { |
this->onDraw(args, *verts); |
+ fStats.incNumDraws(); |
} while ((verts = iter.next())); |
} |