aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/jni12tools.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-12-06 09:18:00 +0000
committerSven Gothel <[email protected]>2001-12-06 09:18:00 +0000
commit8fdc4baaee82a63247a9f4203dace4ee910881bb (patch)
treef9ff045a8756d695c3afafadb5256c86813eecef /CNativeCode/jni12tools.c
parent5a67c0f5302dbd445d744450db58d1122096b742 (diff)
2.8.1 rc 0rel-2-8-1-0-rc
Diffstat (limited to 'CNativeCode/jni12tools.c')
-rw-r--r--CNativeCode/jni12tools.c5
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();
}