ports/graphics/cogl/files/patch-cogl_winsys_cogl-winsys-egl.c
Koop Mast 1f3fcf7ad0 Update cogl to 1.22.2.
* Review dependancies
* Switch to USES=localbase

Obtained from:	gnome devel repo (based on)
2017-06-09 09:28:08 +00:00

11 lines
475 B
C

--- cogl/winsys/cogl-winsys-egl.c.orig 2016-08-26 16:18:16 UTC
+++ cogl/winsys/cogl-winsys-egl.c
@@ -1029,7 +1029,7 @@ _cogl_egl_create_image (CoglContext *ctx,
egl_ctx = EGL_NO_CONTEXT;
else
#endif
-#if COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
+#ifdef COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
/* 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)