diff options
Diffstat (limited to 'CNativeCode/jni12tools.c')
-rw-r--r-- | CNativeCode/jni12tools.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/CNativeCode/jni12tools.c b/CNativeCode/jni12tools.c index 09b948a..4a13a52 100644 --- a/CNativeCode/jni12tools.c +++ b/CNativeCode/jni12tools.c @@ -1,7 +1,8 @@ #include <string.h> #include "jnitools.h" -
-#include "gltool.h"
+#include "jawt_misc.h" + +#include "gltool.h" #ifdef __BUILTIN_VA_ARG_INCR /* Special stuff for the SunOS port ... */ @@ -538,7 +539,8 @@ JNI_OnLoad(JavaVM * vm, void *reserved) JNIEXPORT void JNICALL JNI_OnUnload(JavaVM *vm, void *reserved) -{
+{ unloadGLLibrary(); + jawt_unload(); } |