* commit '46ab373f1f394ec50e38381cb98d3976fe87a9bb': Actually set the virtual display output buffer.
This commit is contained in:
commit
4f7acbd522
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user