fix check of EGL_WL_bind_wayland_display presence

This commit is contained in:
Alain Greppin 2018-05-13 15:17:17 +02:00
parent 059e5f6690
commit b2f8f00ae3

View file

@ -209,7 +209,7 @@ void wlr_egl_finish(struct wlr_egl *egl) {
}
bool wlr_egl_bind_display(struct wlr_egl *egl, struct wl_display *local_display) {
if (!eglBindWaylandDisplayWL) {
if (!egl->egl_exts.bind_wayland_display) {
return false;
}