OSDN Git Service

surfaceflinger: Fix the fix of the opaque check fix
authorSteve Kondik <steve@cyngn.com>
Sun, 24 Jul 2016 23:19:39 +0000 (16:19 -0700)
committerSteve Kondik <steve@cyngn.com>
Sun, 24 Jul 2016 23:19:39 +0000 (16:19 -0700)
 * Use the right define.

Change-Id: I78e2aea4bf4ff933ec828cffee1a3e925622ad31

services/surfaceflinger/Layer.cpp

index 14bd312..3e932df 100644 (file)
@@ -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) {