diff options
author | Steve Kondik <steve@cyngn.com> | 2015-01-30 13:06:23 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-01-31 03:54:04 -0800 |
commit | be46a596d39cf893cf79e236bbcc1ba23782a3a5 (patch) | |
tree | 3708b7561e524bcdc002e4a84ff757d0a4beaa07 | |
parent | e0d7c636ec501366d2b360a7765cb378faa5ef87 (diff) | |
download | android_frameworks_native-be46a596d39cf893cf79e236bbcc1ba23782a3a5.tar.gz android_frameworks_native-be46a596d39cf893cf79e236bbcc1ba23782a3a5.tar.bz2 android_frameworks_native-be46a596d39cf893cf79e236bbcc1ba23782a3a5.zip |
surfaceflinger: Fix the opaque check
* Ifdef was reversed.
Change-Id: Ib8ca846bab176b3cc2fd46c86dce617b1c1f45fa
-rwxr-xr-x | services/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 0ed755c97..e84a5098e 100755 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -477,7 +477,7 @@ void Layer::setGeometry( // this gives us only the "orientation" component of the transform const State& s(getDrawingState()); -#ifdef QCOM_BSP_LEGACY +#ifdef QCOM_BSP if (!isOpaque(s)) #else if (!isOpaque(s) || s.alpha != 0xFF) |