am fd9d183c: Build fix to use the correct source.

* commit 'fd9d183cd8c859ab8480dea572430398438ba8b5':
  Build fix to use the correct source.
This commit is contained in:
Michael Lentine 2014-07-30 22:49:02 +00:00 committed by Android Git Automerger
commit 134c268764

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,