diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-02-29 12:55:57 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-02-29 12:55:57 +0100 |
| commit | 50250bd2ca6bd4e30486da9a55ffee0cebebc37d (patch) | |
| tree | 82ca32449ae6bc296f918baf55e1f5aba60b1dda /src/librarian | |
| parent | 0e71c3a2ac67f9c77d27571f3e70429aefded5d5 (diff) | |
| download | box64-50250bd2ca6bd4e30486da9a55ffee0cebebc37d.tar.gz box64-50250bd2ca6bd4e30486da9a55ffee0cebebc37d.zip | |
Added wrapped support for EGL/GLESv2
Diffstat (limited to 'src/librarian')
| -rw-r--r-- | src/librarian/library.c | 6 |
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; |