summaryrefslogtreecommitdiff
path: root/progs/egl
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-27 13:47:23 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-27 13:47:23 -0600
commita6af2e3345a23e66385433b066329f77ec69abcb (patch)
tree82b33ccae6f0a00f339e558d2e2776539b77be79 /progs/egl
parent096b79bf17900ba3d335c6b415461f198051e75b (diff)
include eglext.h, define EGL_EGLEXT_PROTOTYPES
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/eglgears.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/progs/egl/eglgears.c b/progs/egl/eglgears.c
index 909f4837b2..5a79c00b4c 100644
--- a/progs/egl/eglgears.c
+++ b/progs/egl/eglgears.c
@@ -27,13 +27,16 @@
* Program runs for 5 seconds then exits, outputing framerate to console
*/
+#define EGL_EGLEXT_PROTOTYPES
+
+#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <GL/gl.h>
#include <GLES/egl.h>
-#include <assert.h>
+#include <GLES/eglext.h>
#define MAX_CONFIGS 10
#define MAX_MODES 100