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

Commit 0632b778 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix build error from diamond merge" into oc-mr1-dev

parents e0433c8d a564aa8c
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -173,16 +173,17 @@ status_t FramebufferSurface::nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>&
    mHwcBufferCache.getHwcBuffer(mCurrentBufferSlot, mCurrentBuffer,
            &outSlot, &outBuffer);
    outDataspace = item.mDataSpace;
#else
    outBuffer = mCurrentBuffer;
#endif
    status_t result =
            mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace);
    if (result != NO_ERROR) {
        ALOGE("error posting framebuffer: %d", result);
        return result;
    }
#else
    outBuffer = mCurrentBuffer;
#endif

    return result;
    return NO_ERROR;
}

#ifndef USE_HWC2