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