From b527ebbf5be0949df3b9dcf0806109acc8119476 Mon Sep 17 00:00:00 2001 From: rajdakin Date: Sat, 10 Feb 2024 15:06:08 +0100 Subject: Wrapped libraries refactor (#1257) * [MISC] Removed a warning caused by tab/space mismatch * [WRAPPED] Factored out `getMy` and `freeMy` calls * [WRAPPED] Small cleanup of the init header * [WRAPPED] Factored out `SETALT` * [WRAPPED] Factored out needed libs --- src/wrapped/wrappedlibglx.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/wrapped/wrappedlibglx.c') diff --git a/src/wrapped/wrappedlibglx.c b/src/wrapped/wrappedlibglx.c index 52bae55d..6b30a790 100644 --- a/src/wrapped/wrappedlibglx.c +++ b/src/wrapped/wrappedlibglx.c @@ -49,13 +49,6 @@ EXPORT void* myx_glXGetProcAddressARB(x64emu_t* emu, void* name) return getGLProcAddress(emu, (glprocaddress_t)my->glXGetProcAddressARB, rname); } - - -#define CUSTOM_INIT \ - getMy(lib); \ - SETALT(myx_); \ - -#define CUSTOM_FINI \ - freeMy(); +#define ALTMY myx_ #include "wrappedlib_init.h" -- cgit 1.4.1