summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorMichael Lentine <mlentine@google.com>2014-07-30 15:39:17 -0700
committerMichael Lentine <mlentine@google.com>2014-07-30 15:39:17 -0700
commitfd9d183cd8c859ab8480dea572430398438ba8b5 (patch)
treefb68b9e336a9887a79fdaf302dab339c4e98aa1e /services
parent7306c670eb3ddb471d983a7458eb9f522afd0763 (diff)
downloadframeworks_native-fd9d183cd8c859ab8480dea572430398438ba8b5.zip
frameworks_native-fd9d183cd8c859ab8480dea572430398438ba8b5.tar.gz
frameworks_native-fd9d183cd8c859ab8480dea572430398438ba8b5.tar.bz2
Build fix to use the correct source.
Change-Id: If36710be600dd0e15c31682e0343f281baa55627
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp
index ca04495..c3d45ee 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>& 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,