sf: Fix blending mode for legacy BSP

* After 0c5f3af, glitches when blending is observed on
   A family devices. Modify ifdef to not include QCOM_BSP_LEGACY.

Change-Id: Ibb53df5709abbb0e7132065aec23a14f7accf4b3
This commit is contained in:
Arne Coucheron 2016-07-20 00:46:07 +02:00
parent 839f0dd964
commit a5761b164a

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());
#ifdef QTI_BSP #if defined(QCOM_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) {