diff options
Diffstat (limited to 'src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java')
-rw-r--r-- | src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java b/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java index 6fe2369..6a7d116 100644 --- a/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java +++ b/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java @@ -94,6 +94,7 @@ public class ProceduralTexturePhysics extends Demo { // public void shutdownDemo() { + viewer.detach(); ManipManager.getManipManager().unregisterWindow(drawable); drawable.removeGLEventListener(this); super.shutdownDemo(); @@ -124,7 +125,8 @@ public class ProceduralTexturePhysics extends Demo { water.initialize("demos/data/images/nvfixed.tga", "demos/data/images/nvspin.tga", "demos/data/images/droplet.tga", - "demos/data/cubemaps/CloudyHills_{0}.tga", + "demos/data/cubemaps/CloudyHills_", + "tga", drawable); GL gl = drawable.getGL(); |