Skip to content

Commit

Permalink
Revert "If glvnd library found, do not use libGL.so in epoxy_load_gl"
Browse files Browse the repository at this point in the history
Commit dbfa4b2 has introduced a string of regressions in the X server
and KWin.

This reverts commit dbfa4b2.

See: #252
  • Loading branch information
ebassi committed May 21, 2021
1 parent c2148eb commit 622ca39
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/dispatch_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,12 +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
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 622ca39

Please sign in to comment.