summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2016-10-19 23:38:28 +0200
committerKalev Lember <klember@redhat.com>2016-10-19 23:41:16 +0200
commitb583e21d8698dbd58013320cfb47739102efdea7 (patch)
treea04c6b98e0f8d5ea140f7af4b9e7a4cce1149742
parente0fda738232d6a1c69a150d7528a970887fb459f (diff)
downloadcogl-b583e21d8698dbd58013320cfb47739102efdea7.tar.gz
Fix an incorrect preprocessor conditional
This fixes the build with wayland wayland egl server support disabled.
-rw-r--r--cogl/winsys/cogl-winsys-egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/winsys/cogl-winsys-egl.c b/cogl/winsys/cogl-winsys-egl.c
index 39bfd884..4a9f3aa6 100644
--- a/cogl/winsys/cogl-winsys-egl.c
+++ b/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)