fix check of EGL_WL_bind_wayland_display presence

master
Alain Greppin 7 years ago
parent 059e5f6690
commit b2f8f00ae3

@ -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) { 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; return false;
} }

Loading…
Cancel
Save