diff options
author | Sven Gothel <[email protected]> | 2014-06-27 08:57:09 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-06-27 08:57:09 +0200 |
commit | 21b84da775fae5806481ecc658a207bf603126d5 (patch) | |
tree | 757a59e053d8d1487a507e8d0d14c459c25f1003 /src/test/com/jogamp/opengl | |
parent | fd121c63a94c28b3a27a866c5c1316694d67c43a (diff) |
GLU: Make ProjectFloat/ProjectDouble final and deprecate GLU.destroy() method.
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/OlympicES1.java | 1 | ||||
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/glu/TestBug694ScaleImageUnpackBufferSizeAWT.java | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/OlympicES1.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/OlympicES1.java index b0803c871..3395ca51f 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/OlympicES1.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/OlympicES1.java @@ -224,7 +224,6 @@ public class OlympicES1 implements GLEventListener @Override public void dispose(GLAutoDrawable glad) { - glu.destroy(); glu = null; theTorus.destroy(glad.getGL()); theTorus = null; diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/glu/TestBug694ScaleImageUnpackBufferSizeAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/glu/TestBug694ScaleImageUnpackBufferSizeAWT.java index c79affef1..4f87bd7cf 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/glu/TestBug694ScaleImageUnpackBufferSizeAWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/glu/TestBug694ScaleImageUnpackBufferSizeAWT.java @@ -66,12 +66,11 @@ public class TestBug694ScaleImageUnpackBufferSizeAWT extends UITestCase implemen testDone = true; final GL gl = drawable.getGL(); - GLU glu = GLU.createGLU(gl); + final GLU glu = GLU.createGLU(gl); testGLUScaleImage(gl, glu, 0); // default 4 testGLUScaleImage(gl, glu, 1); testGLUScaleImage(gl, glu, 4); testGLUScaleImage(gl, glu, 8); - glu.destroy(); } } |