Revert "Do not overwrite glx_handle in epoxy_load_gl if GLX library is loaded already"

This reverts commit 4994c48172.
macos/v1.5.9
Emmanuele Bassi 3 years ago
parent 0dd0e0a272
commit c2148eb019
  1. 3
      src/dispatch_common.c

@ -677,8 +677,7 @@ epoxy_load_gl(void)
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;
api.glx_handle = api.gl_handle;
#endif
}
#endif

Loading…
Cancel
Save