Skip to content

Commit

Permalink
Revert "Do not overwrite glx_handle in epoxy_load_gl if GLX library i…
Browse files Browse the repository at this point in the history
…s loaded already"

This reverts commit 4994c48.
  • Loading branch information
ebassi committed May 21, 2021
1 parent 0dd0e0a commit c2148eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dispatch_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2148eb

Please sign in to comment.