Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index 7ae2c99825109125117da824b5b99e9a52f1b7f3..a45aca8a72e8338416e184e85a882d7101931906 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -26,25 +26,6 @@ |
//////////////////////////////////////////////////////////////////////////////// |
-GrDrawTarget::DrawInfo& GrDrawTarget::DrawInfo::operator =(const DrawInfo& di) { |
- fPrimitiveType = di.fPrimitiveType; |
- fStartVertex = di.fStartVertex; |
- fStartIndex = di.fStartIndex; |
- fVertexCount = di.fVertexCount; |
- fIndexCount = di.fIndexCount; |
- |
- fInstanceCount = di.fInstanceCount; |
- fVerticesPerInstance = di.fVerticesPerInstance; |
- fIndicesPerInstance = di.fIndicesPerInstance; |
- |
- fVertexBuffer.reset(di.vertexBuffer()); |
- fIndexBuffer.reset(di.indexBuffer()); |
- |
- return *this; |
-} |
- |
-//////////////////////////////////////////////////////////////////////////////// |
- |
#define DEBUG_INVAL_BUFFER 0xdeadcafe |
#define DEBUG_INVAL_START_IDX -1 |