Merge branch 'softpipe-opt'
[mesa.git] / progs / egl / demo3.c
index 6ea75787931b75272e5daa606532ccfa2b13cd30..daab62d1738cce7f27bca8ed6a88ea12cd3b57a9 100644 (file)
@@ -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>
@@ -548,7 +551,7 @@ write_ppm(const char *filename, const GLubyte *buffer, int width, int height)
    }
 }
 
-#include "../src/egl/main/egldisplay.h"
+#include "../../src/egl/main/egldisplay.h"
 
 typedef struct fb_display
 {