egl: pass the dri2_dpy to the $plat_teardown functions
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 Nov 2017 18:33:22 +0000 (18:33 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Nov 2017 18:46:01 +0000 (18:46 +0000)
commit9b0223046668593deb9c0be0b557994bb5218788
tree5a8e4914024af223ab88747b7d4c79f32650c780
parent306914db92e12d5424493d0ea2c4566b393c58c8
egl: pass the dri2_dpy to the $plat_teardown functions

Cc: Mark Janes <mark.a.janes@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@gmail.com>
Tested-by: Dylan Baker <dylan@pnwbakers.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103784
src/egl/drivers/dri2/egl_dri2.c