[Mesa-dev] [PATCH 4/6] egl/dri: remove old left-overs

Emil Velikov emil.l.velikov at gmail.com
Tue Oct 10 16:21:24 UTC 2017


On 6 October 2017 at 21:16, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> ---
>  src/egl/drivers/dri2/platform_x11_dri3.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/egl/drivers/dri2/platform_x11_dri3.c b/src/egl/drivers/dri2/platform_x11_dri3.c
> index 45bb56ca17e..eadd37141e0 100644
> --- a/src/egl/drivers/dri2/platform_x11_dri3.c
> +++ b/src/egl/drivers/dri2/platform_x11_dri3.c
> @@ -297,22 +297,20 @@ dri3_create_image_khr_pixmap(_EGLDisplay *disp, _EGLContext *ctx,
>     free(bp_reply);
>
>     return &dri2_img->base;
>  }
>
>  static _EGLImage *
>  dri3_create_image_khr(_EGLDriver *drv, _EGLDisplay *disp,
>                        _EGLContext *ctx, EGLenum target,
>                        EGLClientBuffer buffer, const EGLint *attr_list)
>  {
> -   (void) drv;
> -
I wouldn't bother with this for now - there's a ton more left.
We should drop the drv argument through egl, but rather boring and mechanical.

-Emil


More information about the mesa-dev mailing list