From 21b84da775fae5806481ecc658a207bf603126d5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 27 Jun 2014 08:57:09 +0200 Subject: GLU: Make ProjectFloat/ProjectDouble final and deprecate GLU.destroy() method. --- src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/OlympicES1.java | 1 - .../test/junit/jogl/glu/TestBug694ScaleImageUnpackBufferSizeAWT.java | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/test/com') 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(); } } -- cgit v1.2.3