[PATCH 0/1] MR7891: winewayland: Support building with older EGL headers.
Support building on systems with older EGL headers, which may not include the EGL_EXT_present_opaque extension. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57941 -- Note that this MR doesn't change the runtime requirement for EGL_EXT_present_opaque. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7891
From: Alexandros Frantzis <alexandros.frantzis(a)collabora.com> Support building on systems with older EGL headers, which may not include the EGL_EXT_present_opaque extension. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57941 --- dlls/winewayland.drv/opengl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/winewayland.drv/opengl.c b/dlls/winewayland.drv/opengl.c index eae566b77a4..424fc65a8ab 100644 --- a/dlls/winewayland.drv/opengl.c +++ b/dlls/winewayland.drv/opengl.c @@ -44,6 +44,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(waylanddrv); #include "wine/opengl_driver.h" +/* Support building on systems with older EGL headers, which may not include + * the EGL_EXT_present_opaque extension. */ +#ifndef EGL_PRESENT_OPAQUE_EXT +#define EGL_PRESENT_OPAQUE_EXT 0x31DF +#endif + static void *egl_handle; static struct opengl_funcs opengl_funcs; static EGLDisplay egl_display; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7891
participants (2)
-
Alexandros Frantzis -
Alexandros Frantzis (@afrantzis)