Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index 330f348d86551f6ff20fa5cfbafc86f5b625bb79..fd6124fa78261de3556bbfbca0b3435ab843b15b 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; |
} |