diff options
author | Chia-I Wu <[email protected]> | 2010-01-26 18:41:15 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-26 18:46:06 +0800 |
commit | 092b1ca989ba3bdc3f4d421b83b3943af260b7db (patch) | |
tree | 065fe64d024b6045808fcd94f7ad9215080e9ccd /src/egl/main/egldriver.c | |
parent | 545eaf83b5f096e5b16b2056e13b76f58d9211c9 (diff) |
egl: Remove _eglOpenDriver and _eglCloseDriver.
_eglCloseDriver is no-op and _eglOpenDriver does nothing but call
_eglMatchDriver. Export _eglMatchDriver directly.
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r-- | src/egl/main/egldriver.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index b820b966f9e..1dadbf783b6 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -269,7 +269,7 @@ _eglLoadDriver(const char *path, const char *args) * * The matching is done by finding the driver with the highest score. */ -static _EGLDriver * +_EGLDriver * _eglMatchDriver(_EGLDisplay *dpy) { _EGLDriver *best_drv = NULL; @@ -299,27 +299,6 @@ _eglMatchDriver(_EGLDisplay *dpy) /** - * Open a preloaded driver. - */ -_EGLDriver * -_eglOpenDriver(_EGLDisplay *dpy) -{ - _EGLDriver *drv = _eglMatchDriver(dpy); - return drv; -} - - -/** - * Close a preloaded driver. - */ -EGLBoolean -_eglCloseDriver(_EGLDriver *drv, _EGLDisplay *dpy) -{ - return EGL_TRUE; -} - - -/** * Preload a user driver. * * A user driver can be specified by EGL_DRIVER. |