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

Commit 3443091d authored by Alec Mouri's avatar Alec Mouri
Browse files

Treat 10101010 buffers as non-opaque.

There's an alpha channel! So we have to allow blending

Bug: 410767656
Flag: EXEMPT bug fix
Test: builds
Change-Id: Ib7125f657c257a507261c4bc496603db98f015a0
parent ec9339ad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -155,6 +155,7 @@ bool LayerSnapshot::isOpaqueFormat(PixelFormat format) {
        case PIXEL_FORMAT_BGRA_8888:
        case PIXEL_FORMAT_RGBA_FP16:
        case PIXEL_FORMAT_RGBA_1010102:
        case PIXEL_FORMAT_RGBA_10101010:
        case PIXEL_FORMAT_R_8:
            return false;
    }