[Mesa-stable] [Mesa-dev] [PATCH] egl/x11: Remove duplicate call to dri2_x11_add_configs_for_visuals

Samuel Iglesias Gonsálvez siglesias at igalia.com
Mon Jun 15 02:36:58 PDT 2015


Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

Sam

On 13/06/15 09:33, Boyan Ding wrote:
> The call to dri2_x11_add_configs_for_visuals (previously
> dri2_add_configs_for_visuals) was moved downwards in commit f8c5b8a1,
> but appeared again in its original position after its rename in
> d019cd81. Remove it.
> 
> Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Boyan Ding <boyan.j.ding at gmail.com>
> ---
>  src/egl/drivers/dri2/platform_x11.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c
> index e0d0fdc..c8f6113 100644
> --- a/src/egl/drivers/dri2/platform_x11.c
> +++ b/src/egl/drivers/dri2/platform_x11.c
> @@ -1279,11 +1279,6 @@ dri2_initialize_x11_dri2(_EGLDriver *drv, _EGLDisplay *disp)
>  
>     dri2_x11_setup_swap_interval(dri2_dpy);
>  
> -   if (dri2_dpy->conn) {
> -      if (!dri2_x11_add_configs_for_visuals(dri2_dpy, disp))
> -	 goto cleanup_configs;
> -   }
> -
>     disp->Extensions.KHR_image_pixmap = EGL_TRUE;
>     disp->Extensions.NOK_swap_region = EGL_TRUE;
>     disp->Extensions.NOK_texture_from_pixmap = EGL_TRUE;
> 


More information about the mesa-stable mailing list