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

Commit 46ab373f authored by Jesse Hall's avatar Jesse Hall Committed by Android Git Automerger
Browse files

am d5e345b0: Merge "Actually set the virtual display output buffer." into jb-mr2-dev

* commit 'd5e345b0':
  Actually set the virtual display output buffer.
parents e167d889 d5e345b0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -76,7 +76,11 @@ status_t VirtualDisplaySurface::advanceFrame() {
    if (result != NO_ERROR)
        return result;

    return mHwc.fbPost(mDisplayId, fence, mAcquiredBuffer);
    result = mHwc.fbPost(mDisplayId, fence, mAcquiredBuffer);
    if (result == NO_ERROR) {
        result = mHwc.setOutputBuffer(mDisplayId, fence, mAcquiredBuffer);
    }
    return result;
}

void VirtualDisplaySurface::onFrameCommitted() {