From 4b5d4bcbf91af522141ecc682dd8d5c2d0e6ed1d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 10 Dec 2010 05:27:53 +0100 Subject: FIX gears demo: set lists to 0 at dispose --- src/junit/com/jogamp/test/junit/jogl/demos/gl2/gears/Gears.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/junit/com') diff --git a/src/junit/com/jogamp/test/junit/jogl/demos/gl2/gears/Gears.java b/src/junit/com/jogamp/test/junit/jogl/demos/gl2/gears/Gears.java index 78846250f..432bedbb9 100644 --- a/src/junit/com/jogamp/test/junit/jogl/demos/gl2/gears/Gears.java +++ b/src/junit/com/jogamp/test/junit/jogl/demos/gl2/gears/Gears.java @@ -137,6 +137,7 @@ public class Gears implements GLEventListener { public void dispose(GLAutoDrawable drawable) { System.err.println("Gears: Dispose"); + setGears(0, 0, 0); } public void display(GLAutoDrawable drawable) { -- cgit v1.2.3