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

Commit d5e345b0 authored by Jesse Hall's avatar Jesse Hall Committed by Android (Google) Code Review
Browse files

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

parents 39c24a20 2ba647e9
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() {