summaryrefslogtreecommitdiff
path: root/src/egl/main/egldriver.c
diff options
context:
space:
mode:
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;