about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibglu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedlibglu.c')
-rwxr-xr-xsrc/wrapped/wrappedlibglu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibglu.c b/src/wrapped/wrappedlibglu.c
index 2e08ec99..082e724c 100755
--- a/src/wrapped/wrappedlibglu.c
+++ b/src/wrapped/wrappedlibglu.c
@@ -134,7 +134,7 @@ void EXPORT my_gluNurbsCallback(x64emu_t* emu, void* a, int32_t b, void* cb)
 #define CUSTOM_INIT                     \
     box64->libglu = lib;                \
     getMy(lib);                         \
-    setNeededLibs(&lib->priv.w, 1, "libGL.so.1");
+    setNeededLibs(lib, 1, "libGL.so.1");
 
 #define CUSTOM_FINI             \
     freeMy();