summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-01-30 13:06:23 -0800
committerSteve Kondik <steve@cyngn.com>2015-01-31 03:54:04 -0800
commitbe46a596d39cf893cf79e236bbcc1ba23782a3a5 (patch)
tree3708b7561e524bcdc002e4a84ff757d0a4beaa07
parente0d7c636ec501366d2b360a7765cb378faa5ef87 (diff)
downloadandroid_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-xservices/surfaceflinger/Layer.cpp2
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)