diff options
| author | Yaron Cohen-Tal <yaronct@gmail.com> | 2015-08-30 10:41:48 +0300 |
|---|---|---|
| committer | Yaron Cohen-Tal <yaronct@gmail.com> | 2015-08-30 10:41:48 +0300 |
| commit | dd695faee34c9b95fe4f1fd5b7a7247e5612036d (patch) | |
| tree | 710480ee0d2e7ebd1207366ff92148bfc4ea444f /src | |
| parent | ec2f42f01a95df0c524671ad7bf0ef1c55ecd63e (diff) | |
| download | libepoxy-dd695faee34c9b95fe4f1fd5b7a7247e5612036d.tar.gz | |
Remove redundant code in "epoxy_get_bootstrap_proc_address".
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispatch_common.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c index d8a0abb..0d4f68f 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -609,16 +609,8 @@ epoxy_get_bootstrap_proc_address(const char *name) } #endif /* EPOXY_SUPPORT_EGL */ - /* If we already have a library that links to libglapi loaded, - * use that. - */ -#if EPOXY_SUPPORT_GLX - if (api.glx_handle && glXGetCurrentContext()) - return epoxy_gl_dlsym(name); -#endif - - /* Fall back to GLX */ return epoxy_gl_dlsym(name); + } void * |
