From c2148eb0192305a6900ebf475674ec7a9f2b9b31 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 21 May 2021 15:35:35 +0100 Subject: [PATCH] Revert "Do not overwrite glx_handle in epoxy_load_gl if GLX library is loaded already" This reverts commit 4994c48172e94ca81c000597e0abc0ea0e682b3c. --- src/dispatch_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 62b7134..cfc9dcc 100644 --- a/src/dispatch_common.c +++ b/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