Permalink
Browse files

surfaceflinger: Fix ifdeffing

 * Fix bad ifdeffing from QC BSP code.

Change-Id: Ibd188c16fc6e95ee70dd13381db5406449c33c4d
  • Loading branch information...
1 parent 7d87409 commit 354d2c02ddf8fedd68d611a2447591ea934e7abc @cyanogen cyanogen committed with Whitehawkx Sep 19, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 services/surfaceflinger/SurfaceFlinger.cpp
@@ -1031,15 +1031,16 @@ void SurfaceFlinger::composeSurfaces(const Region& dirty)
layer->draw(clip);
}
}
+
+#ifdef QCOM_HARDWARE
} else if (cur && !mWormholeRegion.isEmpty()) {
const Region region(mWormholeRegion.intersect(mDirtyRegion));
if (!region.isEmpty()) {
-#ifdef QCOM_HARDWARE
if (0 != qdutils::CBUtils::qcomuiClearRegion(region,
hw.getEGLDisplay()))
-#endif
drawWormhole();
}
+#endif
}
}

0 comments on commit 354d2c0

Please sign in to comment.