[PATCH weston 2/3] clients: Require EGL_MIN_SWAP_INTERVAL to be 0 for subsurfaces

Bill Spitzak spitzak at gmail.com
Mon Jan 26 11:09:51 PST 2015


On 01/26/2015 02:19 AM, Jonas Ã…dahl wrote:

> +	if (EGL_FALSE == eglGetConfigAttrib(window->display->dpy,
> +					    window->display->argb_config,
> +					    EGL_MIN_SWAP_INTERVAL,
> +					    &min_swap_interval)) {

I think yoda style is not used in Wayland.

Also my personal preference is to use ! instead of comparing to false. I 
always read that the wrong way.



More information about the wayland-devel mailing list