[Mesa-dev] [Mesa-stable] [PATCH] egl/x11: Set version of swrastLoader to 2

Ian Romanick idr at freedesktop.org
Tue Jun 16 08:39:08 PDT 2015


Gak... I thought we fixed all of those. :(

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 06/15/2015 08:08 PM, Boyan Ding wrote:
> which it actually implements instead of the newest version defined in
> dri_interface.h
> 
> 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 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c
> index f1101d6..53717b3 100644
> --- a/src/egl/drivers/dri2/platform_x11.c
> +++ b/src/egl/drivers/dri2/platform_x11.c
> @@ -1112,7 +1112,7 @@ dri2_initialize_x11_swrast(_EGLDriver *drv, _EGLDisplay *disp)
>        goto cleanup_conn;
>  
>     dri2_dpy->swrast_loader_extension.base.name = __DRI_SWRAST_LOADER;
> -   dri2_dpy->swrast_loader_extension.base.version = __DRI_SWRAST_LOADER_VERSION;
> +   dri2_dpy->swrast_loader_extension.base.version = 2;
>     dri2_dpy->swrast_loader_extension.getDrawableInfo = swrastGetDrawableInfo;
>     dri2_dpy->swrast_loader_extension.putImage = swrastPutImage;
>     dri2_dpy->swrast_loader_extension.getImage = swrastGetImage;
> 



More information about the mesa-dev mailing list