egl/wayland: add missing destroy_window callback
authorStencel, Joanna <joanna.stencel@intel.com>
Mon, 24 Oct 2016 08:48:11 +0000 (09:48 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 24 Oct 2016 08:50:53 +0000 (09:50 +0100)
commit2e0ab61e29c4b44d349ab433c899b691a9b12f68
tree5f14b070aa2f51e380eb0bb6ba87473e4055b888
parent3511a86111866f7233a337a24c9c6442b9aa05e6
egl/wayland: add missing destroy_window callback

The original patch by Joanna added the function pointer and callback yet
things got only partially applied - the infra was added, but the
implementation was missing.

Cc: "12.0 13.0" <mesa-stable@lists.freedesktop.org>
Fixes: 690ead4a135 ("egl/wayland-egl: Fix for segfault in
dri2_wl_destroy_surface.")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/platform_wayland.c