summaryrefslogtreecommitdiffstats
path: root/progs/egl
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/demo1.c4
-rw-r--r--progs/egl/demo2.c4
-rw-r--r--progs/egl/demo3.c5
-rw-r--r--progs/egl/eglgears.c4
-rw-r--r--progs/egl/eglinfo.c2
-rw-r--r--progs/egl/xeglgears.c2
6 files changed, 12 insertions, 9 deletions
diff --git a/progs/egl/demo1.c b/progs/egl/demo1.c
index 52673187c4d..49b66245388 100644
--- a/progs/egl/demo1.c
+++ b/progs/egl/demo1.c
@@ -4,8 +4,8 @@
#define EGL_EGLEXT_PROTOTYPES
-#include <GLES/egl.h>
-#include <GLES/eglext.h>
+#include <EGL/egl.h>
+#include <EGL/eglext.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/progs/egl/demo2.c b/progs/egl/demo2.c
index c95aaafa13a..d7283e13bd3 100644
--- a/progs/egl/demo2.c
+++ b/progs/egl/demo2.c
@@ -9,8 +9,8 @@
#include <stdlib.h>
#include <unistd.h>
-#include <GLES/egl.h>
-#include <GLES/eglext.h>
+#include <EGL/egl.h>
+#include <EGL/eglext.h>
#include <GLES/gl.h>
/*#define FRONTBUFFER*/
diff --git a/progs/egl/demo3.c b/progs/egl/demo3.c
index 6ea75787931..a6096a257ec 100644
--- a/progs/egl/demo3.c
+++ b/progs/egl/demo3.c
@@ -2,7 +2,10 @@
* Exercise EGL API functions
*/
-#include <GLES/egl.h>
+#define EGL_EGLEXT_PROTOTYPES
+
+#include <EGL/egl.h>
+#include <EGL/eglext.h>
#include <GL/gl.h>
#include <assert.h>
#include <stdio.h>
diff --git a/progs/egl/eglgears.c b/progs/egl/eglgears.c
index a004cb7e869..20f6c1ff6ea 100644
--- a/progs/egl/eglgears.c
+++ b/progs/egl/eglgears.c
@@ -35,8 +35,8 @@
#include <stdio.h>
#include <string.h>
#include <GL/gl.h>
-#include <GLES/egl.h>
-#include <GLES/eglext.h>
+#include <EGL/egl.h>
+#include <EGL/eglext.h>
#define MAX_CONFIGS 10
#define MAX_MODES 100
diff --git a/progs/egl/eglinfo.c b/progs/egl/eglinfo.c
index 442de5d63ff..f0fd4429903 100644
--- a/progs/egl/eglinfo.c
+++ b/progs/egl/eglinfo.c
@@ -25,7 +25,7 @@
*/
-#include <GLES/egl.h>
+#include <EGL/egl.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/progs/egl/xeglgears.c b/progs/egl/xeglgears.c
index 519d4bb692f..d5fbc03410c 100644
--- a/progs/egl/xeglgears.c
+++ b/progs/egl/xeglgears.c
@@ -40,7 +40,7 @@
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <GL/gl.h>
-#include <GLES/egl.h>
+#include <EGL/egl.h>
#define BENCHMARK