3 @@ -1121,6 +1121,7 @@ dri2_setup_extensions(_EGLDisplay *disp)
4 if (!dri2_bind_extensions(dri2_dpy, mandatory_core_extensions, extensions, false))
7 +#ifdef HAVE_X11_PLATFORM
8 #ifdef HAVE_DRI3_MODIFIERS
9 dri2_dpy->multibuffers_available =
10 (dri2_dpy->dri3_major_version > 1 || (dri2_dpy->dri3_major_version == 1 &&
11 @@ -1129,6 +1130,7 @@ dri2_setup_extensions(_EGLDisplay *disp)
12 dri2_dpy->present_minor_version >= 2)) &&
13 (dri2_dpy->image && dri2_dpy->image->base.version >= 15);
17 dri2_bind_extensions(dri2_dpy, optional_core_extensions, extensions, true);