cogl/winsys/cogl-eglx: Use the right egl header on 1.1

Commit b0cc98fdce introduced a #include for the egl header in
cogl-eglx.c The header name is different under GLES 1.1 so it broke
compilation.
This commit is contained in:
Neil Roberts 2010-06-11 14:47:30 +01:00
parent 64e6cf69d7
commit ded9322a7a

View File

@ -27,7 +27,11 @@
#include "cogl.h" #include "cogl.h"
#ifdef HAVE_COGL_GLES2
#include <EGL/egl.h> #include <EGL/egl.h>
#else /* HAVE_COGL_GLES2 */
#include <GLES/egl.h>
#endif /* HAVE_COGL_GLES2 */
CoglFuncPtr CoglFuncPtr
_cogl_winsys_get_proc_address (const char *name) _cogl_winsys_get_proc_address (const char *name)