commit | 29d06ac9a45e564b4f935b91067fc92c2d4c193d | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Jun 29 18:49:56 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Mon Jun 29 18:49:56 2009 -0700 |
tree | cd222364df15c9fc100614fad8bb41b9b1df106e | |
parent | 9f96145725ff3f265712d607d19078fb91a5c8ec [diff] [blame] |
fix a bug that caused artifacts when SWAP_RECTANGLE was enabled
diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp index b981319..3ce93c0 100644 --- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp +++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
@@ -326,7 +326,7 @@ #endif if (mFlags & UPDATE_ON_DEMAND) { - mNativeWindow->setUpdateRectangle(dirty.bounds()); + mNativeWindow->setUpdateRectangle(dirty.getBounds()); } mPageFlipCount++;