commit | 3c099c42fd7ead1429076055990ae39b72c904f4 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Wed Feb 06 15:28:04 2013 -0800 |
committer | Romain Guy <romainguy@google.com> | Wed Feb 06 15:28:04 2013 -0800 |
tree | d9c375c30a202a46a95282375c9b71d09d5c0ba0 | |
parent | b969a0de65730b071d846f8302e751e2637e6dbe [diff] [blame] |
Fix Snapshot::resetClip to also reset the clip region Change-Id: I979151e73f64ff9d45f8a5232d8700361b09fbc7
diff --git a/libs/hwui/Snapshot.cpp b/libs/hwui/Snapshot.cpp index 22c7dde..87ed825 100644 --- a/libs/hwui/Snapshot.cpp +++ b/libs/hwui/Snapshot.cpp
@@ -184,6 +184,7 @@ void Snapshot::resetClip(float left, float top, float right, float bottom) { clipRect = &mClipRectRoot; + clipRegion = &mClipRegionRoot; setClip(left, top, right, bottom); }