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.
macos/v1.5.9
Eric Anholt 11 years ago
parent 5112b477c2
commit 8dcd1512db
  1. 4
      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 *

Loading…
Cancel
Save