From ecfa7ccd4fc3066a4cfd4d84d7de286d95581c78 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 29 Jun 2009 18:49:56 -0700 Subject: fix a bug that caused artifacts when SWAP_RECTANGLE was enabled --- libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp') 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 @@ void DisplayHardware::flip(const Region& dirty) const #endif if (mFlags & UPDATE_ON_DEMAND) { - mNativeWindow->setUpdateRectangle(dirty.bounds()); + mNativeWindow->setUpdateRectangle(dirty.getBounds()); } mPageFlipCount++; -- cgit v1.1