Skip to content

Commit 622ca39

Browse files
committed
Revert "If glvnd library found, do not use libGL.so in epoxy_load_gl"
Commit dbfa4b2 has introduced a string of regressions in the X server and KWin. This reverts commit dbfa4b2. See: anholt#252
1 parent c2148eb commit 622ca39

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/dispatch_common.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -674,12 +674,9 @@ epoxy_load_gl(void)
674674
if (!api.gl_handle)
675675
get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true);
676676
#endif
677-
if (!api.gl_handle) {
678-
get_dlopen_handle(&api.gl_handle, GLX_LIB, true, true);
679-
#if PLATFORM_HAS_GLX
680-
api.glx_handle = api.gl_handle;
681-
#endif
682-
}
677+
678+
get_dlopen_handle(&api.glx_handle, GLX_LIB, true, true);
679+
api.gl_handle = api.glx_handle;
683680
#endif
684681
}
685682

0 commit comments

Comments
 (0)