summaryrefslogtreecommitdiff
path: root/legacy/evas/src/modules/engines/wayland_egl/evas_engine.h
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2012-10-26 18:54:45 +0000
committerRafael Antognolli <antognolli@gmail.com>2012-10-26 18:54:45 +0000
commit60dfe259c8062c6462920cb42be7d7b304277728 (patch)
treec8695a70de51da485bdc13df4eb827d4c3ade5da /legacy/evas/src/modules/engines/wayland_egl/evas_engine.h
parentdd7e8ad1a714567ef3acc609a1d17796644d85a4 (diff)
evas/wayland_egl: Change some ifdefs to make it compile withot GLES.
This will not make the engine work, but its build won't fail. SVN revision: 78554
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/modules/engines/wayland_egl/evas_engine.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/legacy/evas/src/modules/engines/wayland_egl/evas_engine.h b/legacy/evas/src/modules/engines/wayland_egl/evas_engine.h
index 204d7932a0..7cb076b50f 100644
--- a/legacy/evas/src/modules/engines/wayland_egl/evas_engine.h
+++ b/legacy/evas/src/modules/engines/wayland_egl/evas_engine.h
@@ -11,8 +11,13 @@
11#define GL_GLEXT_PROTOTYPES 11#define GL_GLEXT_PROTOTYPES
12 12
13#include <EGL/egl.h> 13#include <EGL/egl.h>
14#include <GLES2/gl2.h> 14#ifdef GL_GLES
15#include <GLES2/gl2ext.h> 15# include <GLES2/gl2.h>
16# include <GLES2/gl2ext.h>
17#else
18# include <GL/gl.h>
19# include <GL/glext.h>
20#endif
16#include <wayland-egl.h> 21#include <wayland-egl.h>
17 22
18extern int _evas_engine_wl_egl_log_dom; 23extern int _evas_engine_wl_egl_log_dom;