diff options
| author | 2011-12-09 15:07:44 -0800 | |
|---|---|---|
| committer | 2011-12-09 15:07:44 -0800 | |
| commit | 798b9cdf8ca6fdede46c7f697bed78756f9029f9 (patch) | |
| tree | 765004b4a6aac101718cb6a6337d5663548018e8 | |
| parent | 720efc43d89ce9fd50b66f22cdb1bb4363cfb291 (diff) | |
SurfaceTexture: fix a verbose-log compile error
Change-Id: I045231207e068d950bb0cb5085717af5d9454ed1
| -rw-r--r-- | libs/gui/SurfaceTexture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/SurfaceTexture.cpp b/libs/gui/SurfaceTexture.cpp index fcd287c02276..4772189b7fb4 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; } |