From 400b833592d9aad7b2c4627a897380642d52189f Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Mon, 22 Dec 2014 10:10:13 -0500 Subject: egl: Add Haiku code and support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * This is the cleaned up work of the Haiku GCI student Adrián Arroyo Calle adrian.arroyocalle@gmail.com * Several patches were consolidated to prevent unnecessary touching of non-related code --- src/egl/main/egldriver.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/egl/main/egldriver.c') 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 #endif +#ifdef _EGL_BUILT_IN_DRIVER_HAIKU +_EGLDriver* _eglBuiltInDriverHaiku(const char* args); +#endif typedef struct _egl_module { char *Path; @@ -72,6 +75,9 @@ const struct { #endif #ifdef _EGL_BUILT_IN_DRIVER_DRI2 { "egl_dri2", _eglBuiltInDriverDRI2 }, +#endif +#ifdef _EGL_BUILT_IN_DRIVER_HAIKU + { "egl_haiku", _eglBuiltInDriverHaiku }, #endif { NULL, NULL } }; -- cgit v1.2.3