From 798b9cdf8ca6fdede46c7f697bed78756f9029f9 Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Fri, 9 Dec 2011 15:07:44 -0800 Subject: SurfaceTexture: fix a verbose-log compile error Change-Id: I045231207e068d950bb0cb5085717af5d9454ed1 --- libs/gui/SurfaceTexture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/gui/SurfaceTexture.cpp') diff --git a/libs/gui/SurfaceTexture.cpp b/libs/gui/SurfaceTexture.cpp index fcd287c..4772189 100644 --- a/libs/gui/SurfaceTexture.cpp +++ b/libs/gui/SurfaceTexture.cpp @@ -498,8 +498,8 @@ status_t SurfaceTexture::dequeueBuffer(int *outBuf, uint32_t w, uint32_t h, eglDestroySyncKHR(dpy, fence); } - ST_LOGV("dequeueBuffer: returning slot=%d buf=%p flags=%#x", buf, - mSlots[buf].mGraphicBuffer->handle, returnFlags); + ST_LOGV("dequeueBuffer: returning slot=%d buf=%p flags=%#x", *outBuf, + mSlots[*outBuf].mGraphicBuffer->handle, returnFlags); return returnFlags; } -- cgit v1.1