diff options
| author | 2013-02-06 15:28:04 -0800 | |
|---|---|---|
| committer | 2013-02-06 15:28:04 -0800 | |
| commit | 3c099c42fd7ead1429076055990ae39b72c904f4 (patch) | |
| tree | d9c375c30a202a46a95282375c9b71d09d5c0ba0 /libs/hwui/Snapshot.cpp | |
| parent | b969a0de65730b071d846f8302e751e2637e6dbe (diff) | |
Fix Snapshot::resetClip to also reset the clip region
Change-Id: I979151e73f64ff9d45f8a5232d8700361b09fbc7
Diffstat (limited to 'libs/hwui/Snapshot.cpp')
| -rw-r--r-- | libs/hwui/Snapshot.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Snapshot.cpp b/libs/hwui/Snapshot.cpp index 22c7dde602e0..87ed825b8d2d 100644 --- a/libs/hwui/Snapshot.cpp +++ b/libs/hwui/Snapshot.cpp @@ -184,6 +184,7 @@ const Rect& Snapshot::getLocalClip() { void Snapshot::resetClip(float left, float top, float right, float bottom) { clipRect = &mClipRectRoot; + clipRegion = &mClipRegionRoot; setClip(left, top, right, bottom); } |