[Mesa-dev] [PATCH 06/13] squash! egl: add EGL_ANDROID_native_fence_sync

Chad Versace chad.versace at intel.com
Sat Jul 9 00:00:56 UTC 2016


Don't set SyncCondition twice.
---
 src/egl/main/eglsync.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/egl/main/eglsync.c b/src/egl/main/eglsync.c
index 375f223..d65fbdd 100644
--- a/src/egl/main/eglsync.c
+++ b/src/egl/main/eglsync.c
@@ -119,7 +119,6 @@ _eglInitSync(_EGLSync *sync, _EGLDisplay *dpy, EGLenum type,
       sync->SyncCondition = EGL_SYNC_CL_EVENT_COMPLETE_KHR;
       break;
    case EGL_SYNC_NATIVE_FENCE_ANDROID:
-      sync->SyncCondition = EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID;
       if (sync->SyncFd == EGL_NO_NATIVE_FENCE_FD_ANDROID)
          sync->SyncCondition = EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR;
       else
-- 
2.9.0.rc2



More information about the mesa-dev mailing list