aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rwxr-xr-xcode/egl/GenerateQGL.pl2
-rw-r--r--code/egl/egl_glimp.c2
-rw-r--r--code/egl/egl_glimp.h2
-rw-r--r--code/egl/egl_input.c2
-rw-r--r--code/egl/egl_input.h2
-rw-r--r--code/renderer/qgl.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/code/egl/GenerateQGL.pl b/code/egl/GenerateQGL.pl
index f60e495..6c1372b 100755
--- a/code/egl/GenerateQGL.pl
+++ b/code/egl/GenerateQGL.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl
open(INPUT_FILE, ">/tmp/input-$$.h") || die "$!";
-print INPUT_FILE "#import <GLES2/gl2.h>\n";
+print INPUT_FILE "#import <GLES/gl.h>\n";
close INPUT_FILE;
open(CPP, "/usr/bin/cpp /tmp/input-$$.h|") || die "$!";
diff --git a/code/egl/egl_glimp.c b/code/egl/egl_glimp.c
index 63f4b58..5032683 100644
--- a/code/egl/egl_glimp.c
+++ b/code/egl/egl_glimp.c
@@ -9,7 +9,7 @@
#include <X11/Xutil.h>
#include <EGL/egl.h>
-#include <GLES2/gl2.h>
+#include <GLES/gl.h>
#include "egl_glimp.h"
#include "../client/client.h"
diff --git a/code/egl/egl_glimp.h b/code/egl/egl_glimp.h
index f965291..095428c 100644
--- a/code/egl/egl_glimp.h
+++ b/code/egl/egl_glimp.h
@@ -15,7 +15,7 @@
#include <X11/Xutil.h>
#include <EGL/egl.h>
-#include <GLES2/gl2.h>
+#include <GLES/gl.h>
#include "egl_input.h"
diff --git a/code/egl/egl_input.c b/code/egl/egl_input.c
index 9206580..9636560 100644
--- a/code/egl/egl_input.c
+++ b/code/egl/egl_input.c
@@ -12,7 +12,7 @@
#include <X11/Xutil.h>
#include <EGL/egl.h>
-#include <GLES2/gl2.h>
+#include <GLES/gl.h>
#include "egl_glimp.h"
#include "../client/client.h"
diff --git a/code/egl/egl_input.h b/code/egl/egl_input.h
index 0fb4630..97f9ea2 100644
--- a/code/egl/egl_input.h
+++ b/code/egl/egl_input.h
@@ -15,7 +15,7 @@
#include <X11/Xutil.h>
#include <EGL/egl.h>
-#include <GLES2/gl2.h>
+#include <GLES/gl.h>
#include "../qcommon/q_shared.h"
diff --git a/code/renderer/qgl.h b/code/renderer/qgl.h
index 116f8dd..8da0fcd 100644
--- a/code/renderer/qgl.h
+++ b/code/renderer/qgl.h
@@ -48,7 +48,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#elif defined( __linux__ )
#include <EGL/egl.h>
-#include <GLES2/gl2.h>
+#include <GLES/gl.h>
#include "../egl/egl_glimp.h"