summaryrefslogtreecommitdiff
path: root/libs/hwui/OpenGLReadback.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2017-08-21 20:02:21 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-08-21 20:02:21 +0000
commitcf1b82c3764344ff6d3b02f20d8039e40d8f6b3c (patch)
treeeaf0fe96acffc178e879ff33a6a460156b9f6f74 /libs/hwui/OpenGLReadback.cpp
parentdb9ae4217def4f06b552e61b09c153976862658a (diff)
parent530a2b44d9a4b40d028c912ade858da73081ed85 (diff)
Merge "Disable hwui blending for first draw to main FBO" into oc-mr1-dev
Diffstat (limited to 'libs/hwui/OpenGLReadback.cpp')
-rw-r--r--libs/hwui/OpenGLReadback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLReadback.cpp b/libs/hwui/OpenGLReadback.cpp
index 025503b15975..f9a1cc5296d5 100644
--- a/libs/hwui/OpenGLReadback.cpp
+++ b/libs/hwui/OpenGLReadback.cpp
@@ -228,7 +228,7 @@ inline CopyResult copyTextureInto(Caches& caches, RenderState& renderState,
.build();
Matrix4 ortho;
ortho.loadOrtho(destWidth, destHeight);
- renderState.render(glop, ortho);
+ renderState.render(glop, ortho, false);
// TODO: We should convert to linear space when the target is RGBA16F
glReadPixels(0, 0, bitmap->width(), bitmap->height(), format,