Skip to content

Commit a1dee3f

Browse files
Jamie GennisAndroid (Google) Code Review
authored andcommitted
Merge "SurfaceTexture: fix a verbose-log compile error" into ics-mr1
2 parents 2ace3b0 + 798b9cd commit a1dee3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/gui/SurfaceTexture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,8 @@ status_t SurfaceTexture::dequeueBuffer(int *outBuf, uint32_t w, uint32_t h,
498498
eglDestroySyncKHR(dpy, fence);
499499
}
500500

501-
ST_LOGV("dequeueBuffer: returning slot=%d buf=%p flags=%#x", buf,
502-
mSlots[buf].mGraphicBuffer->handle, returnFlags);
501+
ST_LOGV("dequeueBuffer: returning slot=%d buf=%p flags=%#x", *outBuf,
502+
mSlots[*outBuf].mGraphicBuffer->handle, returnFlags);
503503

504504
return returnFlags;
505505
}

0 commit comments

Comments
 (0)