Re: [Mesa-dev] [PATCH 2/7] egl/dri2: In dri2_make_current, return early on failure

2018-08-03 Thread Tapani Pälli
Reviewed-by: Tapani Pälli On 07/31/2018 09:18 PM, Chad Versace wrote: This pulls an 'else' block into the function's main body, making the code easier to follow. Without this change, the upcoming EGL_KHR_mutable_render_buffer patch transforms dri2_make_current() into spaghetti. ---

[Mesa-dev] [PATCH 2/7] egl/dri2: In dri2_make_current, return early on failure

2018-07-31 Thread Chad Versace
This pulls an 'else' block into the function's main body, making the code easier to follow. Without this change, the upcoming EGL_KHR_mutable_render_buffer patch transforms dri2_make_current() into spaghetti. --- src/egl/drivers/dri2/egl_dri2.c | 29 +++-- 1 file changed,

[Mesa-dev] [PATCH 2/7] egl/dri2: In dri2_make_current, return early on failure

2018-07-30 Thread Chad Versace
This pulls an 'else' block into the function's main body, making the code easier to follow. Without this change, the upcoming EGL_KHR_mutable_render_buffer patch transforms dri2_make_current() into spaghetti. --- src/egl/drivers/dri2/egl_dri2.c | 29 +++-- 1 file changed,