fix check of EGL_WL_bind_wayland_display presence
Created by: agreppin
Tested on virtualbox with Fedora 28 guest, which does not have the EGL_WL_bind_wayland_display
extension. The function pointer eglBindWaylandDisplayWL
is non-null and causes a crash when used (SIGSEGV in __strlen_avx2
).
Instead use struct wlr_egl.egl_exts.bind_wayland_display
which is correctly set in wlr_egl_init
, but not yet used...