|
|
@ -674,13 +674,9 @@ epoxy_load_gl(void) |
|
|
|
if (!api.gl_handle) |
|
|
|
if (!api.gl_handle) |
|
|
|
get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true); |
|
|
|
get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
if (!api.gl_handle) { |
|
|
|
|
|
|
|
get_dlopen_handle(&api.gl_handle, GLX_LIB, true, true); |
|
|
|
get_dlopen_handle(&api.glx_handle, GLX_LIB, true, true); |
|
|
|
#if PLATFORM_HAS_GLX |
|
|
|
api.gl_handle = api.glx_handle; |
|
|
|
if (!api.glx_handle) |
|
|
|
|
|
|
|
api.glx_handle = api.gl_handle; |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|