Build fix to use the correct source.

Change-Id: If36710be600dd0e15c31682e0343f281baa55627
This commit is contained in:
Michael Lentine 2014-07-30 15:39:17 -07:00
parent 7306c670eb
commit fd9d183cd8
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ status_t VirtualDisplaySurface::queueBuffer(int pslot,
void VirtualDisplaySurface::cancelBuffer(int pslot, const sp<Fence>& fence) {
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,
"Unexpected cancelBuffer(pslot=%d) in %s state", pslot,