From ded9322a7ab13dc0ab2d5470164909d764eaa436 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Fri, 11 Jun 2010 14:47:30 +0100 Subject: [PATCH] cogl/winsys/cogl-eglx: Use the right egl header on 1.1 Commit b0cc98fdceb introduced a #include for the egl header in cogl-eglx.c The header name is different under GLES 1.1 so it broke compilation. --- clutter/cogl/cogl/winsys/cogl-eglx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clutter/cogl/cogl/winsys/cogl-eglx.c b/clutter/cogl/cogl/winsys/cogl-eglx.c index 01ba5c9d0..1849ea27f 100644 --- a/clutter/cogl/cogl/winsys/cogl-eglx.c +++ b/clutter/cogl/cogl/winsys/cogl-eglx.c @@ -27,7 +27,11 @@ #include "cogl.h" +#ifdef HAVE_COGL_GLES2 #include +#else /* HAVE_COGL_GLES2 */ +#include +#endif /* HAVE_COGL_GLES2 */ CoglFuncPtr _cogl_winsys_get_proc_address (const char *name)