cogl: Drop COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
The only place where this define is used can be replaced by checking EGL_WL_bind_wayland_display, which is done in that same file already. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2145>
This commit is contained in:
parent
87a66830dc
commit
3cd77f8a79
@ -39,7 +39,6 @@
|
||||
#mesondefine COGL_HAS_GL
|
||||
#mesondefine CLUTTER_COGL_HAS_GL
|
||||
#mesondefine COGL_HAS_GLX_SUPPORT
|
||||
#mesondefine COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
|
||||
#mesondefine COGL_HAS_EGL_PLATFORM_XLIB_SUPPORT
|
||||
#mesondefine COGL_HAS_EGL_SUPPORT
|
||||
#mesondefine COGL_HAS_X11
|
||||
|
@ -5,7 +5,6 @@ cdata = configuration_data()
|
||||
cdata.set('COGL_HAS_GL', have_gl)
|
||||
cdata.set('CLUTTER_COGL_HAS_GL', have_gl)
|
||||
cdata.set('COGL_HAS_GLX_SUPPORT', have_glx)
|
||||
cdata.set('COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT', have_wayland)
|
||||
cdata.set('COGL_HAS_EGL_PLATFORM_XLIB_SUPPORT', have_egl_xlib)
|
||||
cdata.set('COGL_HAS_EGL_SUPPORT', have_egl)
|
||||
cdata.set('COGL_HAS_X11', have_x11)
|
||||
|
@ -674,7 +674,7 @@ _cogl_egl_create_image (CoglContext *ctx,
|
||||
egl_ctx = EGL_NO_CONTEXT;
|
||||
else
|
||||
#endif
|
||||
#ifdef COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
|
||||
#ifdef EGL_WL_bind_wayland_display
|
||||
/* The WL_bind_wayland_display spec states that EGL_NO_CONTEXT is to be used
|
||||
* in conjunction with the EGL_WAYLAND_BUFFER_WL target */
|
||||
if (target == EGL_WAYLAND_BUFFER_WL)
|
||||
|
Loading…
Reference in New Issue
Block a user