Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index 8289f006d41804ab5cdadd68c2d93a881aff5f72..aaf3fd3f0e0f20c5f0a743f187e18ed789b2b9f3 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -411,7 +411,9 @@ void GrInOrderDrawBuffer::recordTraceMarkersIfNecessary(GrTargetCommands::Cmd* c |
void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace(int vertexCount, |
size_t vertexStride, |
int indexCount) { |
+#ifndef USE_BITMAP_TEXTBLOBS |
fCommands.closeBatch(); |
+#endif |
this->INHERITED::willReserveVertexAndIndexSpace(vertexCount, vertexStride, indexCount); |
} |