mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
Merge pull request #1309 from swaywm/fix-headless-libinput
Fix headless backend
This commit is contained in:
commit
7daca85bcf
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
|
|||
|
||||
if (platform == EGL_PLATFORM_SURFACELESS_MESA) {
|
||||
assert(remote_display == NULL);
|
||||
egl->display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
|
||||
egl->display = eglGetPlatformDisplayEXT(platform, EGL_DEFAULT_DISPLAY, NULL);
|
||||
} else {
|
||||
egl->display = eglGetPlatformDisplayEXT(platform, remote_display, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue