summaryrefslogtreecommitdiff
path: root/libs/hwui/Layer.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2014-05-20 18:10:25 -0700
committer Chris Craik <ccraik@google.com> 2014-05-21 13:50:29 -0700
commit797b95b26bbb7557678af78b9a2a61830158920f (patch)
treeb2e895c064c511446b2709160c9d614819f871b2 /libs/hwui/Layer.cpp
parentd6a91b0bb64b17dcf4ae635f428dfd4ad310f73e (diff)
Define light position (using new lighting spec) in Java
Also updates the relative shadow strengths. Change-Id: I6cac7275d38df98aea9f0dda463cd7207102986a
Diffstat (limited to 'libs/hwui/Layer.cpp')
-rw-r--r--libs/hwui/Layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Layer.cpp b/libs/hwui/Layer.cpp
index de2fcf416b28..6a2ef2a8f4d1 100644
--- a/libs/hwui/Layer.cpp
+++ b/libs/hwui/Layer.cpp
@@ -214,7 +214,7 @@ void Layer::defer() {
DeferStateStruct deferredState(*deferredList, *renderer,
RenderNode::kReplayFlag_ClipChildren);
- renderer->initializeViewport(width, height);
+ renderer->setViewport(width, height);
renderer->setupFrameState(dirtyRect.left, dirtyRect.top,
dirtyRect.right, dirtyRect.bottom, !isBlend());