[Mesa-dev] [PATCH] egl: pass the dri2_dpy to the $plat_teardown functions

Dylan Baker dylan at pnwbakers.com
Thu Nov 16 18:45:41 UTC 2017


Tested-by: Dylan Baker <dylan at pnwbakers.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103784

Quoting Emil Velikov (2017-11-16 10:36:01)
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> Cc: Mark Janes <mark.a.janes at intel.com>
> Fixes: 40a01c9a0ef ("egl/drm: move teardown code to the platform file")
> Fixes: 8d745abc009 ("egl/wayland: move teardown code to the platform file")
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/egl/drivers/dri2/egl_dri2.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
> index c362206a431..7cc9f20ba25 100644
> --- a/src/egl/drivers/dri2/egl_dri2.c
> +++ b/src/egl/drivers/dri2/egl_dri2.c
> @@ -992,10 +992,10 @@ dri2_display_destroy(_EGLDisplay *disp)
>        dri2_teardown_x11(dri2_dpy);
>        break;
>     case _EGL_PLATFORM_DRM:
> -      dri2_teardown_drm(disp);
> +      dri2_teardown_drm(dri2_dpy);
>        break;
>     case _EGL_PLATFORM_WAYLAND:
> -      dri2_teardown_wayland(disp);
> +      dri2_teardown_wayland(dri2_dpy);
>        break;
>     default:
>        /* TODO: add teardown for other platforms */
> -- 
> 2.15.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171116/cadca97b/attachment-0001.sig>


More information about the mesa-dev mailing list