diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-02-02 17:05:56 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-02-03 14:16:15 +0800 |
commit | 2287f4c52ab10a6d65d7bb12803a8ee0f2394699 (patch) | |
tree | 59a1a5f0fb9590e8bfd13310f1f0460fb4ee8c5a /src/egl/main/egldriver.c | |
parent | 6fd8b6a9e22f474117281b00d15c548c29b8197f (diff) |
egl: Remove unnecessary #ifdef's.
There were some refactorings with the addition of EGL_DRIVERS_PATH.
They made some platform #ifdef's unnecessary.
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r-- | src/egl/main/egldriver.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 0ccdea76c9..8e623a071e 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -448,7 +448,6 @@ _eglGetSearchPath(void) static EGLBoolean _eglPreloadUserDriver(void) { -#if defined(_EGL_PLATFORM_POSIX) || defined(_EGL_PLATFORM_WINDOWS) const char *search_path = _eglGetSearchPath(); char *env; @@ -472,9 +471,6 @@ _eglPreloadUserDriver(void) } return EGL_TRUE; -#else /* _EGL_PLATFORM_POSIX || _EGL_PLATFORM_WINDOWS */ - return EGL_FALSE; -#endif } @@ -490,7 +486,6 @@ _eglPreloadUserDriver(void) static EGLBoolean _eglPreloadDisplayDrivers(void) { -#if defined(_EGL_PLATFORM_POSIX) const char *dpy; char prefix[32]; int ret; @@ -507,9 +502,6 @@ _eglPreloadDisplayDrivers(void) return (_eglPreloadForEach(_eglGetSearchPath(), _eglPreloadPattern, (void *) prefix) > 0); -#else /* _EGL_PLATFORM_POSIX */ - return EGL_FALSE; -#endif } |