From e537382991ea44a6b8dae41875c94d0455620e9a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 17 Jan 2021 10:19:51 +0100 Subject: backend/x11: add support for DRI3 1.0 Add fallbacks when DRI3 1.2 isn't supported. Closes: https://github.com/swaywm/wlroots/issues/2586 --- include/backend/x11.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend/x11.h') diff --git a/include/backend/x11.h b/include/backend/x11.h index 85836ad4..b21d818e 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -68,6 +68,7 @@ struct wlr_x11_backend { xcb_depth_t *depth; xcb_visualid_t visualid; xcb_colormap_t colormap; + uint32_t dri3_major_version, dri3_minor_version; size_t requested_outputs; size_t last_output_num; -- cgit v1.2.3