am a0931d65
: Merge "SurfaceTexture: eglDestroySync after duping its fd" into jb-mr1-dev
* commit 'a0931d657551f5098f805fbdeeed2b060bbe6171': SurfaceTexture: eglDestroySync after duping its fd
This commit is contained in:
commit
95fa2dd826
@ -478,6 +478,7 @@ status_t SurfaceTexture::syncForReleaseLocked(EGLDisplay dpy) {
|
||||
}
|
||||
glFlush();
|
||||
int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync);
|
||||
eglDestroySyncKHR(dpy, sync);
|
||||
if (fenceFd == EGL_NO_NATIVE_FENCE_FD_ANDROID) {
|
||||
ST_LOGE("syncForReleaseLocked: error dup'ing native fence "
|
||||
"fd: %#x", eglGetError());
|
||||
|
Loading…
Reference in New Issue
Block a user