surfaceflinger: Fix the fix of the opaque check fix

* Use the right define.

Change-Id: I78e2aea4bf4ff933ec828cffee1a3e925622ad31
This commit is contained in:
Steve Kondik 2016-07-24 16:19:39 -07:00
parent d67b177ff6
commit 8cafa373aa

View File

@ -467,7 +467,7 @@ void Layer::setGeometry(
// this gives us only the "orientation" component of the transform // this gives us only the "orientation" component of the transform
const State& s(getDrawingState()); const State& s(getDrawingState());
#if defined(QCOM_BSP) && !defined(QCOM_BSP_LEGACY) #if defined(QTI_BSP) && !defined(QCOM_BSP_LEGACY)
if (!isOpaque(s)) { if (!isOpaque(s)) {
#else #else
if (!isOpaque(s) || s.alpha != 0xFF) { if (!isOpaque(s) || s.alpha != 0xFF) {