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

Commit fd9d183c authored by Michael Lentine's avatar Michael Lentine
Browse files

Build fix to use the correct source.

Change-Id: If36710be600dd0e15c31682e0343f281baa55627
parent 7306c670
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -470,7 +470,7 @@ status_t VirtualDisplaySurface::queueBuffer(int pslot,


void VirtualDisplaySurface::cancelBuffer(int pslot, const sp<Fence>& fence) {
void VirtualDisplaySurface::cancelBuffer(int pslot, const sp<Fence>& fence) {
    if (mDisplayId < 0)
    if (mDisplayId < 0)
        return mSource[SOURCE_SINK]->cancelBuffer(mapProducer2SourceSlot(source, pslot), fence);
        return mSource[SOURCE_SINK]->cancelBuffer(mapProducer2SourceSlot(SOURCE_SINK, pslot), fence);


    VDS_LOGW_IF(mDbgState != DBG_STATE_GLES,
    VDS_LOGW_IF(mDbgState != DBG_STATE_GLES,
            "Unexpected cancelBuffer(pslot=%d) in %s state", pslot,
            "Unexpected cancelBuffer(pslot=%d) in %s state", pslot,