diff options
Diffstat (limited to 'src/demos/hwShadowmapsSimple')
-rw-r--r-- | src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java index f287053..160e363 100644 --- a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java +++ b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java @@ -322,6 +322,11 @@ public class HWShadowmapsSimple extends Demo { } + public void dispose(GLAutoDrawable drawable) { + glu = null; + glut = null; + } + public void display(GLAutoDrawable drawable) { viewer.update(); @@ -442,6 +447,9 @@ public class HWShadowmapsSimple extends Demo { fullyInitialized = true; } + public void dispose(GLAutoDrawable drawable) { + } + public void display(GLAutoDrawable drawable) { GL2 gl = drawable.getGL().getGL2(); |