diff options
author | Michael Lentine <mlentine@google.com> | 2014-07-30 15:39:17 -0700 |
---|---|---|
committer | Michael Lentine <mlentine@google.com> | 2014-07-30 15:39:17 -0700 |
commit | fd9d183cd8c859ab8480dea572430398438ba8b5 (patch) | |
tree | fb68b9e336a9887a79fdaf302dab339c4e98aa1e /services/surfaceflinger/DisplayHardware | |
parent | 7306c670eb3ddb471d983a7458eb9f522afd0763 (diff) | |
download | frameworks_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/surfaceflinger/DisplayHardware')
-rw-r--r-- | services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp | 2 |
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, |