Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index a0dce188a8578ca9fb70ce0f1528ff26877fba43..18b70dc49c672506865d434f4128ac21a7e1b935 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -158,8 +158,8 @@ void GrInOrderDrawBuffer::onDrawRect(const GrRect& rect, |
// When the caller has provided an explicit source rect for a stage then we don't want to |
// modify that stage's matrix. Otherwise if the effect is generating its source rect from |
// the vertex positions then we have to account for the view matrix change. |
- GrDrawState::AutoDeviceCoordDraw adcd(drawState); |
- if (!adcd.succeeded()) { |
+ GrDrawState::AutoViewMatrixRestore avmr; |
+ if (!avmr.setIdentity(drawState)) { |
return; |
} |