diff options
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/drivers/dri2/platform_surfaceless.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_surfaceless.c b/src/egl/drivers/dri2/platform_surfaceless.c index 20305c8685f..1a2d3be0aad 100644 --- a/src/egl/drivers/dri2/platform_surfaceless.c +++ b/src/egl/drivers/dri2/platform_surfaceless.c @@ -409,6 +409,10 @@ dri2_initialize_surfaceless(_EGLDriver *drv, _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(drv, disp); if (!surfaceless_add_configs_for_visuals(drv, disp)) { err = "DRI2: failed to add configs"; |