| Index: src/gpu/GrOptDrawState.cpp
|
| diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp
|
| index eea022236e3d7a63fbbe44814551a2cbbddbb62b..80f227862174c92250d1cdf1f4816b79e82ba1a3 100644
|
| --- a/src/gpu/GrOptDrawState.cpp
|
| +++ b/src/gpu/GrOptDrawState.cpp
|
| @@ -73,7 +73,7 @@ GrOptDrawState::GrOptDrawState(const GrDrawState& drawState,
|
| fRenderTarget.reset(drawState.fRenderTarget.get());
|
| SkASSERT(fRenderTarget);
|
| fScissorState = scissorState;
|
| - fViewMatrix = drawState.getViewMatrix();
|
| + fViewMatrix = fPrimitiveProcessor->viewMatrix();
|
| fStencilSettings = drawState.getStencil();
|
| fDrawFace = drawState.getDrawFace();
|
| // TODO move this out of optDrawState
|
|
|