Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SurfaceTexture: fix a verbose-log compile error

Change-Id: I045231207e068d950bb0cb5085717af5d9454ed1
  • Loading branch information...
commit 798b9cdf8ca6fdede46c7f697bed78756f9029f9 1 parent 720efc4
Jamie Gennis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 libs/gui/SurfaceTexture.cpp
4 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;
Please sign in to comment.
Something went wrong with that request. Please try again.