mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 23:00:36 +02:00
egl/dri2: enable EGL_WL_bind_wayland_display in EGL device platform
EGL_WL_bind_wayland_display was previously supported on all platforms, except the EGL device platform. Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Simon Ser <contact@emersion.fr> Signed-off-by: Simon Zeni <simon@bl4ckb0ne.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8638>
This commit is contained in:
parent
dbf09c0c26
commit
d0444b7618
1 changed files with 4 additions and 0 deletions
|
|
@ -355,6 +355,10 @@ dri2_initialize_device(_EGLDisplay *disp)
|
|||
}
|
||||
|
||||
dri2_setup_screen(disp);
|
||||
#ifdef HAVE_WAYLAND_PLATFORM
|
||||
dri2_dpy->device_name = loader_get_device_name_for_fd(dri2_dpy->fd);
|
||||
#endif
|
||||
dri2_set_WL_bind_wayland_display(disp);
|
||||
|
||||
if (!dri2_add_pbuffer_configs_for_visuals(disp)) {
|
||||
err = "DRI2: failed to add configs";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue