about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibglu.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-05-09 20:11:03 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-05-09 20:11:03 +0200
commitb1b558d244c58af6a5c56acdd0307533b51cc85c (patch)
treebd80e92ee4315f952973e87839491b53a852fcc3 /src/wrapped/wrappedlibglu.c
parent6ef734960abfb83501cf2236ae41624c0375f570 (diff)
downloadbox64-b1b558d244c58af6a5c56acdd0307533b51cc85c.tar.gz
box64-b1b558d244c58af6a5c56acdd0307533b51cc85c.zip
Small change to avoid wlib_t declaration in wrappedlibs.h (from box86)
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();