diff options
Diffstat (limited to 'user/cogl/fix-wayland-egl-check.patch')
-rw-r--r-- | user/cogl/fix-wayland-egl-check.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/cogl/fix-wayland-egl-check.patch b/user/cogl/fix-wayland-egl-check.patch new file mode 100644 index 000000000..72ec484e5 --- /dev/null +++ b/user/cogl/fix-wayland-egl-check.patch @@ -0,0 +1,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) |