From: Alexandros Frantzis alexandros.frantzis@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;