mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 14:06:00 +01:00
c2288a7b88
This patch will make the EGL renderer work on any EGL/GLESv2 driver providing the EGL_WL_bind_wayland_display extensions. Mesa used to declare provisional EGL_WL_bind_wayland_display directly in <EGL/eglext.h>. Then, all unofficial extensions were moved to <EGL/eglmesaext.h>, to have a cleaner implementation. See:ab7bb10a2a
The extension was then approved at Khronos Group, and reached the official <EGL/eglext.h>. See: https://www.khronos.org/registry/EGL/extensions/WL/EGL_WL_bind_wayland_display.txtaa9b63f3ab
In order to make sure the renderer will work on any version of any implementation providing the extension, only include the mesa-specific header if it's present. Signed-off-by: Julien Olivain <juju@cotds.org>
18 lines
302 B
C
18 lines
302 B
C
#ifndef WLR_CONFIG_H
|
|
#define WLR_CONFIG_H
|
|
|
|
#mesondefine WLR_HAS_EGLMESAEXT_H
|
|
|
|
#mesondefine WLR_HAS_LIBCAP
|
|
|
|
#mesondefine WLR_HAS_SYSTEMD
|
|
#mesondefine WLR_HAS_ELOGIND
|
|
|
|
#mesondefine WLR_HAS_X11_BACKEND
|
|
|
|
#mesondefine WLR_HAS_XWAYLAND
|
|
|
|
#mesondefine WLR_HAS_XCB_ERRORS
|
|
#mesondefine WLR_HAS_XCB_ICCCM
|
|
|
|
#endif
|