Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index b9e84c0a999fed09ae8304e60376b22b1d2ee332..efbe8611daabd656a5d114e8c65abd80cf47aaab 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -833,7 +833,7 @@ |
void GrInOrderDrawBuffer::recordStateIfNecessary() { |
if (fStates.empty()) { |
- this->convertDrawStateToPendingExec(&fStates.push_back(this->getDrawState())); |
+ fStates.push_back() = this->getDrawState(); |
this->addToCmdBuffer(kSetState_Cmd); |
return; |
} |