Fix include order of EGL & Evas GL

Evas_GL.h must be included after EGL.h because it can then skip some
redefinitions of khronos typedefs.
This commit is contained in:
Jean-Philippe Andre 2014-10-24 18:17:32 +09:00
parent a8d8844d5c
commit edb535a96e
1 changed files with 5 additions and 0 deletions

View File

@ -97,6 +97,11 @@ void *alloca (size_t);
# include <execinfo.h>
# endif
/* egl.h must come before Evas_GL.h otherwise they will conflict */
# ifdef HAVE_WAYLAND_EGL
# include <EGL/egl.h>
# endif
# include <setjmp.h>
# include <Eo.h>
# include <Eina.h>