Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index a61ca4443a9fe5777a6d85970dee1d584c6a659b..786640c4671d52102165d3738c5b9918c64b816e 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -211,7 +211,7 @@ void GrGpuGL::flushPathStencilMatrix() { |
const SkMatrix& vm = this->getDrawState().getViewMatrix(); |
if (fHWPathStencilMatrixState.fRenderTargetOrigin != rt->origin() || |
- fHWPathStencilMatrixState.fViewMatrix.cheapEqualTo(viewMatrix) || |
+ !fHWPathStencilMatrixState.fViewMatrix.cheapEqualTo(viewMatrix) || |
fHWPathStencilMatrixState.fRenderTargetSize!= size) { |
// rescale the coords from skia's "device" coords to GL's normalized coords, |
// and perform a y-flip if required. |