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 cc7722389c
commit fcfff3dd04

View File

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