Merge branch 'gallium-tex-surfaces' into gallium-0.1
[mesa.git] / src / egl / main / egltypedefs.h
index fa8cb496f8d850dc621a39adad602c0e8d4d9ca3..efbb17a4dc1e30a6594c61092171cba72bf0d673 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef EGLTYPEDEFS_INCLUDED
 #define EGLTYPEDEFS_INCLUDED
 
+#define EGL_EGLEXT_PROTOTYPES
 
 #include <GLES/egl.h>
+#include <GLES/eglext.h>
 
 
 typedef struct _egl_api _EGLAPI;
@@ -26,9 +28,7 @@ typedef struct _egl_surface _EGLSurface;
 typedef struct _egl_thread_info _EGLThreadInfo;
 
 
-typedef void (*_EGLProc)();
-
-typedef _EGLDriver *(*_EGLMain_t)(_EGLDisplay *dpy);
+typedef _EGLDriver *(*_EGLMain_t)(_EGLDisplay *dpy, const char *args);
 
 
 #endif /* EGLTYPEDEFS_INCLUDED */