mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
egl/wayland: enable WL_bind_wayland_display for zink
Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24975>
This commit is contained in:
parent
1b4e877def
commit
d6748c72d8
1 changed files with 3 additions and 0 deletions
|
|
@ -2809,6 +2809,9 @@ dri2_initialize_wayland_swrast(_EGLDisplay *disp)
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
if (disp->Options.Zink && dri2_dpy->fd_render_gpu >= 0 &&
|
||||
(dri2_dpy->wl_dmabuf || dri2_dpy->wl_drm))
|
||||
dri2_set_WL_bind_wayland_display(disp);
|
||||
disp->Extensions.EXT_swap_buffers_with_damage = EGL_TRUE;
|
||||
disp->Extensions.EXT_present_opaque = EGL_TRUE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue