summaryrefslogtreecommitdiff
path: root/src/egl/main/egltypedefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/egltypedefs.h')
-rw-r--r--src/egl/main/egltypedefs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/egl/main/egltypedefs.h b/src/egl/main/egltypedefs.h
index fa8cb496f8..b1c8ec1f02 100644
--- a/src/egl/main/egltypedefs.h
+++ b/src/egl/main/egltypedefs.h
@@ -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;
@@ -28,7 +30,7 @@ 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 */