| Index: cc/output/gl_renderer.cc
|
| diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
|
| index 98e7eb1c8b06c288ced51168bedbf3931e995ea4..aa7136537bf31ab7e956827a19cc9db8d2eeb795 100644
|
| --- a/cc/output/gl_renderer.cc
|
| +++ b/cc/output/gl_renderer.cc
|
| @@ -3975,7 +3975,11 @@ void GLRenderer::CopyRenderPassDrawQuadToOverlayResource(
|
|
|
| // Clear to 0 to ensure the background is transparent.
|
| gl_->ClearColor(0, 0, 0, 0);
|
| + if (is_scissor_enabled_)
|
| + gl_->Disable(GL_SCISSOR_TEST);
|
| gl_->Clear(GL_COLOR_BUFFER_BIT);
|
| + if (is_scissor_enabled_)
|
| + gl_->Enable(GL_SCISSOR_TEST);
|
|
|
| UpdateRPDQTexturesForSampling(¶ms);
|
| UpdateRPDQBlendMode(¶ms);
|
|
|