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