diff options
Diffstat (limited to 'make/glu-CustomJavaCode-base.java')
-rwxr-xr-x | make/glu-CustomJavaCode-base.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/make/glu-CustomJavaCode-base.java b/make/glu-CustomJavaCode-base.java index 272377ece..aca542eb7 100755 --- a/make/glu-CustomJavaCode-base.java +++ b/make/glu-CustomJavaCode-base.java @@ -113,6 +113,13 @@ public GLU() this.project = new ProjectFloat(); } +public void destroy() { + if(null!=this.project) { + this.project.destroy(); + this.project=null; + } +} + public static final GL getCurrentGL() throws GLException { GLContext curContext = GLContext.getCurrent(); if (curContext == null) { |