summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 52673187c4..49b6624538 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 c95aaafa13..d7283e13bd 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 6ea7578793..a6096a257e 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 a004cb7e86..20f6c1ff6e 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 442de5d63f..f0fd442990 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 519d4bb692..d5fbc03410 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