diff --git a/libs/hwui/Snapshot.cpp b/libs/hwui/Snapshot.cpp index beb2e1d0481cc..3da3a572fd0a6 100644 --- a/libs/hwui/Snapshot.cpp +++ b/libs/hwui/Snapshot.cpp @@ -40,6 +40,7 @@ Snapshot::Snapshot() , mClipArea(&mClipAreaRoot) { transform = &mTransformRoot; region = nullptr; + mRelativeLightCenter.x = mRelativeLightCenter.y = mRelativeLightCenter.z = 0; } /**