From fcfff3dd042e104c54f500f16e7a7fbf45409254 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. --- cogl/winsys/cogl-eglx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cogl/winsys/cogl-eglx.c b/cogl/winsys/cogl-eglx.c index 01ba5c9d0..1849ea27f 100644 --- a/cogl/winsys/cogl-eglx.c +++ b/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)