diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-05-21 15:35:35 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-05-21 15:35:35 +0100 |
commit | c2148eb0192305a6900ebf475674ec7a9f2b9b31 (patch) | |
tree | c2d414a476177a9c54ed61df8c8c647e931e2fb1 /src/dispatch_common.c | |
parent | 0dd0e0a27290a110979fd47a2c517caa7fec4a0f (diff) | |
download | libepoxy-c2148eb0192305a6900ebf475674ec7a9f2b9b31.tar.gz |
Revert "Do not overwrite glx_handle in epoxy_load_gl if GLX library is loaded already"
This reverts commit 4994c48172e94ca81c000597e0abc0ea0e682b3c.
Diffstat (limited to 'src/dispatch_common.c')
-rw-r--r-- | src/dispatch_common.c | 3 |
1 files changed, 1 insertions, 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 |