Update egl_bridge.c

This commit is contained in:
Duy Tran Khanh 2021-11-09 06:54:51 +07:00 committed by GitHub
parent 48cf6ca696
commit cdfd769f91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -935,7 +935,7 @@ void* egl_make_current(void* window) {
}
if (config_renderer == RENDERER_VIRGL) {
void *virgl = dlopen("libvirgl_test_server.so", RTLD_GLOBAL);
void *virgl = dlopen("libvirgl_test_server.so", RTLD_LAZY);
printf("VirGL: libvirgl_test_server = %p\n", virgl);
if (virgl) {
vtest_main_p = dlsym(virgl, "vtest_main");