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:
parent
839f0dd964
commit
a5761b164a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user