Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c69b78a authored by Steve Kondik's avatar Steve Kondik
Browse files

surfaceflinger: Fix the opaque check

 * Ifdef was reversed.

Change-Id: Ib8ca846bab176b3cc2fd46c86dce617b1c1f45fa
parent 4e4323df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -529,7 +529,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)