summaryrefslogtreecommitdiff
path: root/src/egl/main/egldriver.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-16 11:19:10 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-18 15:32:26 +0800
commit94f9330609ec305d998e58abfddfbbdf8ae51c9d (patch)
tree0455381840b1f481b3f946371f8efe0d93613f76 /src/egl/main/egldriver.c
parent08b9155eee16770c37acd126f5c542937e378e41 (diff)
egl_android: New EGL driver for Android.
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r--src/egl/main/egldriver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 89e04a7130..f693b304d4 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -195,7 +195,11 @@ _eglLoadDriver(char *path, char *args)
lib_handle lib;
_EGLDriver *drv = NULL;
- mainFunc = _eglOpenLibrary(path, &lib);
+ /* temporary hack */
+ (void) _eglOpenLibrary;
+ mainFunc = _eglMain;
+ lib = (lib_handle) 0;
+
if (!mainFunc)
return NULL;