include eglext.h, define EGL_EGLEXT_PROTOTYPES
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 27 May 2008 19:47:23 +0000 (13:47 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 27 May 2008 19:47:23 +0000 (13:47 -0600)
progs/egl/eglgears.c

index 909f4837b2af1ecb51f7ac9303324aae450e13c7..5a79c00b4ccd6838641dbeffd3ae245bf7ebabf7 100644 (file)
  * 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