summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.c
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2014-12-22 10:10:13 -0500
committerAlexander von Gluck IV <[email protected]>2014-12-23 09:07:57 -0500
commit400b833592d9aad7b2c4627a897380642d52189f (patch)
tree537b8c751497e81f3eb70b2c01ebc2ade3a40ae2 /src/egl/main/egldriver.c
parentda4fb3e7a11765725a4aaee41de6c79b40637209 (diff)
egl: Add Haiku code and support
* This is the cleaned up work of the Haiku GCI student Adrián Arroyo Calle [email protected] * Several patches were consolidated to prevent unnecessary touching of non-related code
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r--src/egl/main/egldriver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 8cf777de794..7ad14d32a7e 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -52,6 +52,9 @@
#include <unistd.h>
#endif
+#ifdef _EGL_BUILT_IN_DRIVER_HAIKU
+_EGLDriver* _eglBuiltInDriverHaiku(const char* args);
+#endif
typedef struct _egl_module {
char *Path;
@@ -73,6 +76,9 @@ const struct {
#ifdef _EGL_BUILT_IN_DRIVER_DRI2
{ "egl_dri2", _eglBuiltInDriverDRI2 },
#endif
+#ifdef _EGL_BUILT_IN_DRIVER_HAIKU
+ { "egl_haiku", _eglBuiltInDriverHaiku },
+#endif
{ NULL, NULL }
};