summaryrefslogtreecommitdiff
path: root/libs/hwui
diff options
context:
space:
mode:
author Keith Mok <ek9852@gmail.com> 2016-08-05 18:47:20 +0000
committer android-build-merger <android-build-merger@google.com> 2016-08-05 18:47:20 +0000
commit44a291e3f481134c920c615ae7f829e93301c839 (patch)
tree20b20758fcd97117cc37117aebc08919a3031f46 /libs/hwui
parent6ec8474f94d4268e434ae56a502e15ee0c9a3bdd (diff)
parentb4e6b8a3df6824728150de6ca4681fec29dd10e6 (diff)
Merge "Fix random crash in libhwui" am: 3f67a1855e am: 9aaf189103
am: b4e6b8a3df Change-Id: I94df288a017e27aa86b80a5b4a0bf355947cabfb
Diffstat (limited to 'libs/hwui')
-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;
}
/**