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/wrapped/wrappedglesv2.c | |
| parent | 0e71c3a2ac67f9c77d27571f3e70429aefded5d5 (diff) | |
| download | box64-50250bd2ca6bd4e30486da9a55ffee0cebebc37d.tar.gz box64-50250bd2ca6bd4e30486da9a55ffee0cebebc37d.zip | |
Added wrapped support for EGL/GLESv2
Diffstat (limited to 'src/wrapped/wrappedglesv2.c')
| -rw-r--r-- | src/wrapped/wrappedglesv2.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/wrapped/wrappedglesv2.c b/src/wrapped/wrappedglesv2.c new file mode 100644 index 00000000..63b22358 --- /dev/null +++ b/src/wrapped/wrappedglesv2.c @@ -0,0 +1,23 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "debug.h" +#include "wrapper.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" + +#ifdef ANDROID + const char* glesv2Name = "libGLESv2.so"; +#else + const char* glesv2Name = "libGLESv2.so.2"; +#endif + +#define LIBNAME glesv2 + +#include "wrappedlib_init.h" |