about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsdl2image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedsdl2image.c')
-rwxr-xr-xsrc/wrapped/wrappedsdl2image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl2image.c b/src/wrapped/wrappedsdl2image.c
index f99e00fb..de520daa 100755
--- a/src/wrapped/wrappedsdl2image.c
+++ b/src/wrapped/wrappedsdl2image.c
@@ -104,7 +104,7 @@ EXPORT void* my2_IMG_LoadTextureTyped_RW(x64emu_t* emu, void* rend, void* a, int
 #define CUSTOM_INIT \
     getMy(lib);     \
     SETALT(my2_);   \
-    setNeededLibs(&lib->priv.w, 1, "libSDL2-2.0.so.0");
+    setNeededLibs(lib, 1, "libSDL2-2.0.so.0");
 
 #define CUSTOM_FINI \
     freeMy();