summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-03-30 15:42:23 -0700
committerChris Craik <ccraik@google.com>2015-03-30 15:42:23 -0700
commit31dbfc1b3e18f24d9a34c4e600c2048e8d244c14 (patch)
tree94f71e421cbee95feae23205c6e7141fc394d4c9 /libs
parentbf0adf3ba89078f1e8f74a394c1025ceebaa5b37 (diff)
downloadframeworks_base-31dbfc1b3e18f24d9a34c4e600c2048e8d244c14.zip
frameworks_base-31dbfc1b3e18f24d9a34c4e600c2048e8d244c14.tar.gz
frameworks_base-31dbfc1b3e18f24d9a34c4e600c2048e8d244c14.tar.bz2
Fix glop usage for drawTextureLayer
Change-Id: I45fcdfc9e3f41a687b6f4679f81e2b1f4479b9fc
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/OpenGLRenderer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp
index 3781969..02fbd89 100644
--- a/libs/hwui/OpenGLRenderer.cpp
+++ b/libs/hwui/OpenGLRenderer.cpp
@@ -858,6 +858,8 @@ void OpenGLRenderer::drawTextureLayer(Layer* layer, const Rect& rect) {
.setModelViewMapUnitToRectOptionalSnap(snap, rect)
.setRoundRectClipState(currentSnapshot()->roundRectClipState)
.build();
+ renderGlop(glop);
+ return;
}
float alpha = getLayerAlpha(layer);