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

Commit fbc7922e authored by Mathias Agopian's avatar Mathias Agopian
Browse files

workaround for an issue where the screen would flicker sometimes

bug: 6020860
Change-Id: I97807db66b66c5f4dcbed0df79d5d257cfc7c0bd
parent 4d143eed
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1000,6 +1000,12 @@ void SurfaceFlinger::composeSurfaces(const Region& dirty)
        drawWormhole();
    }

    // FIXME: workaroud for b/6020860
    glEnable(GL_SCISSOR_TEST);
    glScissor(0,0,0,0);
    glClear(GL_COLOR_BUFFER_BIT);
    // end-workaround

    /*
     * and then, render the layers targeted at the framebuffer
     */