summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-07-24 16:19:39 -0700
committerSteve Kondik <steve@cyngn.com>2016-07-24 16:19:39 -0700
commit8cafa373aa14b21981627e0ba9ea96731254183d (patch)
tree00b64b57e64e333b6820fc57df175b48e401c150 /services
parentd67b177ff6a6dbbd950f1aaa84669351d6f26b9e (diff)
downloadframeworks_native-8cafa373aa14b21981627e0ba9ea96731254183d.zip
frameworks_native-8cafa373aa14b21981627e0ba9ea96731254183d.tar.gz
frameworks_native-8cafa373aa14b21981627e0ba9ea96731254183d.tar.bz2
surfaceflinger: Fix the fix of the opaque check fix
* Use the right define. Change-Id: I78e2aea4bf4ff933ec828cffee1a3e925622ad31
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/Layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 14bd312..3e932df 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -467,7 +467,7 @@ void Layer::setGeometry(
// this gives us only the "orientation" component of the transform
const State& s(getDrawingState());
-#if defined(QCOM_BSP) && !defined(QCOM_BSP_LEGACY)
+#if defined(QTI_BSP) && !defined(QCOM_BSP_LEGACY)
if (!isOpaque(s)) {
#else
if (!isOpaque(s) || s.alpha != 0xFF) {