summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-12-09 15:07:44 -0800
committerJamie Gennis <jgennis@google.com>2011-12-09 15:07:44 -0800
commit798b9cdf8ca6fdede46c7f697bed78756f9029f9 (patch)
tree765004b4a6aac101718cb6a6337d5663548018e8 /libs
parent720efc43d89ce9fd50b66f22cdb1bb4363cfb291 (diff)
downloadframeworks_base-798b9cdf8ca6fdede46c7f697bed78756f9029f9.zip
frameworks_base-798b9cdf8ca6fdede46c7f697bed78756f9029f9.tar.gz
frameworks_base-798b9cdf8ca6fdede46c7f697bed78756f9029f9.tar.bz2
SurfaceTexture: fix a verbose-log compile error
Change-Id: I045231207e068d950bb0cb5085717af5d9454ed1
Diffstat (limited to 'libs')
-rw-r--r--libs/gui/SurfaceTexture.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}