Merge pull request #254 from anholt/issue-252

Revert OpenGL/GLX loading changes
macos/v1.5.9
Emmanuele Bassi 3 years ago committed by GitHub
commit 2a1665c632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/dispatch_common.c

@ -674,13 +674,9 @@ epoxy_load_gl(void)
if (!api.gl_handle)
get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true);
#endif
if (!api.gl_handle) {
get_dlopen_handle(&api.gl_handle, GLX_LIB, true, true);
#if PLATFORM_HAS_GLX
if (!api.glx_handle)
api.glx_handle = api.gl_handle;
#endif
}
get_dlopen_handle(&api.glx_handle, GLX_LIB, true, true);
api.gl_handle = api.glx_handle;
#endif
}

Loading…
Cancel
Save