[Mesa-dev] [RFC 05/12] squash! egl: add EGL_ANDROID_native_fence_sync

Chad Versace chadversary at chromium.org
Mon Oct 10 17:43:52 UTC 2016


From: Chad Versace <chad.versace at intel.com>

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 ccfa474..b1b8c43 100644
--- a/src/egl/main/eglsync.c
+++ b/src/egl/main/eglsync.c
@@ -93,7 +93,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.10.0



More information about the mesa-dev mailing list