Merge pull request #974 from agreppin/master

fix check of EGL_WL_bind_wayland_display presence
This commit is contained in:
Drew DeVault 2018-05-13 10:42:09 -04:00 committed by GitHub
commit 0ba0aaed7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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