summaryrefslogtreecommitdiff
path: root/libs/hwui/Snapshot.cpp
diff options
context:
space:
mode:
author Keith Mok <ek9852@gmail.com> 2016-08-05 18:37:14 +0000
committer android-build-merger <android-build-merger@google.com> 2016-08-05 18:37:14 +0000
commit9aaf1891034d1b097a03d75417de8f1f3cf91ed1 (patch)
tree2ad5aaa1017bebe188c989d7000200b9f9edc72c /libs/hwui/Snapshot.cpp
parentc548ff23bdf0450f8b7e00690290fd90e54cfed8 (diff)
parent3f67a1855ea444919282590ec3966bd49a88e3ad (diff)
Merge "Fix random crash in libhwui"
am: 3f67a1855e Change-Id: I8dfcad3d00b2cca955457142b963934143ec2cbd
Diffstat (limited to 'libs/hwui/Snapshot.cpp')
-rw-r--r--libs/hwui/Snapshot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Snapshot.cpp b/libs/hwui/Snapshot.cpp
index 2c9c9d90f686..7c187fbda457 100644
--- a/libs/hwui/Snapshot.cpp
+++ b/libs/hwui/Snapshot.cpp
@@ -38,6 +38,7 @@ Snapshot::Snapshot()
, mClipArea(&mClipAreaRoot) {
transform = &mTransformRoot;
region = nullptr;
+ mRelativeLightCenter.x = mRelativeLightCenter.y = mRelativeLightCenter.z = 0;
}
/**