about summary refs log tree commit diff stats
path: root/src/librarian/library.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-29 12:55:57 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-29 12:55:57 +0100
commit50250bd2ca6bd4e30486da9a55ffee0cebebc37d (patch)
tree82ca32449ae6bc296f918baf55e1f5aba60b1dda /src/librarian/library.c
parent0e71c3a2ac67f9c77d27571f3e70429aefded5d5 (diff)
downloadbox64-50250bd2ca6bd4e30486da9a55ffee0cebebc37d.tar.gz
box64-50250bd2ca6bd4e30486da9a55ffee0cebebc37d.zip
Added wrapped support for EGL/GLESv2
Diffstat (limited to 'src/librarian/library.c')
-rw-r--r--src/librarian/library.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/librarian/library.c b/src/librarian/library.c
index 99d884cd..fb27c430 100644
--- a/src/librarian/library.c
+++ b/src/librarian/library.c
@@ -473,6 +473,12 @@ library_t *NewLibrary(const char* path, box64context_t* context, elfheader_t* ve
     int precise = (!box64_prefer_wrapped && !essential && path && strchr(path, '/'))?1:0;
     if(!notwrapped && precise && strstr(path, "libtcmalloc_minimal.so"))
         precise = 0;    // allow native version for tcmalloc_minimum
+    /*
+    if(!notwrapped && precise && strstr(path, "libEGL.so"))
+        precise = 0;    // allow native version for EGL
+    if(!notwrapped && precise && strstr(path, "libGLESv2.so"))
+        precise = 0;    // allow native version for GLESv2
+    */
     // check if name is libSDL_sound-1.0.so.1 but with SDL2 loaded, then try emulated first...
     if(!notwrapped && !strcmp(lib->name, "libSDL_sound-1.0.so.1") && my_context->sdl2lib)
         notwrapped = 1;