summaryrefslogblamecommitdiff
path: root/user/cogl/fix-wayland-egl-check.patch
blob: 72ec484e5dc7ab46e745385300171a038a6f147d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12










                                                                                                  
diff -Nurd cogl-1.22.2/cogl/winsys/cogl-winsys-egl.c cogl-1.22.2.new/cogl/winsys/cogl-winsys-egl.c
--- cogl-1.22.2/cogl/winsys/cogl-winsys-egl.c	2016-08-26 11:18:16.000000000 -0500
+++ cogl-1.22.2.new/cogl/winsys/cogl-winsys-egl.c	2018-09-07 08:28:36.950138458 -0500
@@ -1029,7 +1029,7 @@
     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)