diff options
Diffstat (limited to 'src/gpu/GrDrawTarget.cpp')
-rw-r--r-- | src/gpu/GrDrawTarget.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp index 7ae2c99825..a45aca8a72 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 |