Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 439fe1b70fa9779c9d3e5b0325aebe85d8f7156a..7bb7956c435eaef4b80cc32be1f2a59def21e705 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -35,8 +35,8 @@ GrVertices& GrVertices::operator =(const GrVertices& di) { |
fIndicesPerInstance = di.fIndicesPerInstance; |
fMaxInstancesPerDraw = di.fMaxInstancesPerDraw; |
- fVertexBuffer.reset(di.vertexBuffer()); |
- fIndexBuffer.reset(di.indexBuffer()); |
+ fVertexBuffer.reset(di.vertexBuffer(), NULL); |
+ fIndexBuffer.reset(di.indexBuffer(), NULL); |
return *this; |
} |