On Thu 29 Sep 2016, Emil Velikov wrote: > On 28 September 2016 at 07:28, Chad Versace <chadvers...@chromium.org> wrote: > > > + if (sizeof(int_list[0]) == sizeof(attrib_list[0])) { > > + attrib_list = (EGLAttrib *) int_list; > > + } else { > > + err = _eglConvertIntsToAttribs(int_list, &attrib_list); > > + if (err != EGL_SUCCESS) > > + RETURN_EGL_ERROR(disp, err, EGL_NO_SYNC); > > + } > > + > > + sync = _eglCreateSync(disp, type, attrib_list, EGL_FALSE, > > EGL_BAD_ATTRIBUTE); > > + > > + if ((void *) int_list != (void *) attrib_list)
> Please use the same conditional as above - sizeof(int_list[0]) != > sizeof(attrib_list[0]). Done. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev