mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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:
parent
cc7722389c
commit
fcfff3dd04
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user