diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-17 10:40:25 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-17 12:11:05 -0800 |
commit | 8dcd1512db65a66d5693bfa802e9323d26e12b2e (patch) | |
tree | 5c07b32aac7dd2612e7dbbdc1c31c5d2f8f71ac9 /src | |
parent | 5112b477c25f8efc65b3892573bc9499de910dbe (diff) |
Drop the PLATFORM_HAS_EGL check in epoxy_egl_dlsym().
If you accidentally call it on a non-egl platform, better to get an
informative error message.
Diffstat (limited to 'src')
-rw-r--r-- | src/dispatch_common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 209d450..e597c4e 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -345,11 +345,7 @@ epoxy_conservative_has_gl_extension(const char *ext) void * epoxy_egl_dlsym(const char *name) { -#if PLATFORM_HAS_EGL return do_dlsym(&api.egl_handle, "libEGL.so.1", name, true); -#else - return NULL; -#endif } void * |