summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/glu-CustomJavaCode-gl2.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-06-27 08:57:09 +0200
committerSven Gothel <[email protected]>2014-06-27 08:57:09 +0200
commit21b84da775fae5806481ecc658a207bf603126d5 (patch)
tree757a59e053d8d1487a507e8d0d14c459c25f1003 /make/config/jogl/glu-CustomJavaCode-gl2.java
parentfd121c63a94c28b3a27a866c5c1316694d67c43a (diff)
GLU: Make ProjectFloat/ProjectDouble final and deprecate GLU.destroy() method.
Diffstat (limited to 'make/config/jogl/glu-CustomJavaCode-gl2.java')
-rw-r--r--make/config/jogl/glu-CustomJavaCode-gl2.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/make/config/jogl/glu-CustomJavaCode-gl2.java b/make/config/jogl/glu-CustomJavaCode-gl2.java
index 3ccf6c1d4..b416d53f9 100644
--- a/make/config/jogl/glu-CustomJavaCode-gl2.java
+++ b/make/config/jogl/glu-CustomJavaCode-gl2.java
@@ -35,14 +35,12 @@ static {
public GLUgl2()
{
- this.project = new ProjectDouble();
+ project = new ProjectDouble();
}
+/** @deprecated No more used, NOP */
+@Override
public void destroy() {
- if(null!=this.project) {
- this.project.destroy();
- this.project=null;
- }
super.destroy();
}
@@ -136,7 +134,7 @@ public final boolean isFunctionAvailable(String gluFunctionName)
// Projection routines
//
-private ProjectDouble project;
+private final ProjectDouble project;
public final void gluOrtho2D(float left, float right, float bottom, float top) {
project.gluOrtho2D(getCurrentGL2(), (double)left, (double)right, (double)bottom, (double)top);