Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index 4ad333e2bf0d32e5d1eba74a662f67d4c79f5434..96ad411fc7f0c8e75444395352274ffab3400ae0 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -257,15 +257,9 @@ bool GrGpuGL::flushGraphicsState(DrawType type, |
this->flushScissor(scissorState, glRT->getViewport(), glRT->origin()); |
this->flushAAState(*optState.get(), type); |
- SkIRect* devRect = NULL; |
- SkIRect devClipBounds; |
- if (optState->isClipState()) { |
- this->getClip()->getConservativeBounds(optState->getRenderTarget(), &devClipBounds); |
- devRect = &devClipBounds; |
- } |
// This must come after textures are flushed because a texture may need |
// to be msaa-resolved (which will modify bound FBO state). |
- this->flushRenderTarget(glRT, devRect); |
+ this->flushRenderTarget(glRT, NULL); |
return true; |
} |