Skip to content

Commit

Permalink
Merge pull request #254 from anholt/issue-252
Browse files Browse the repository at this point in the history
Revert OpenGL/GLX loading changes
  • Loading branch information
ebassi authored May 21, 2021
2 parents 0dd0e0a + 622ca39 commit 2a1665c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/dispatch_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2a1665c

Please sign in to comment.