Re: [Mesa-dev] [PATCH 3/4] egl: Refactor errors for bad EGLSync attributes

2016-07-13 Thread Eric Engestrom
On Fri, Jul 08, 2016 at 03:44:20PM -0700, Chad Versace wrote: > Move the error handling into a little helper function. This will keep > the code clean when later adding error handling for attribute > EGL_SYNC_NATIVE_FENCE_FD_ANDROID. > > And fix the log message to work when EGLAttrib is 32-bit or

[Mesa-dev] [PATCH 3/4] egl: Refactor errors for bad EGLSync attributes

2016-07-08 Thread Chad Versace
Move the error handling into a little helper function. This will keep the code clean when later adding error handling for attribute EGL_SYNC_NATIVE_FENCE_FD_ANDROID. And fix the log message to work when EGLAttrib is 32-bit or 64-bit. --- src/egl/main/eglsync.c | 31 +++