From fd9d183cd8c859ab8480dea572430398438ba8b5 Mon Sep 17 00:00:00 2001 From: Michael Lentine Date: Wed, 30 Jul 2014 15:39:17 -0700 Subject: [PATCH] Build fix to use the correct source. Change-Id: If36710be600dd0e15c31682e0343f281baa55627 --- .../surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp index ca0449542..c3d45ee09 100644 --- a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp +++ b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp @@ -470,7 +470,7 @@ status_t VirtualDisplaySurface::queueBuffer(int pslot, void VirtualDisplaySurface::cancelBuffer(int pslot, const sp& 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,