summaryrefslogtreecommitdiffstats
path: root/src/demos/readbuffer/Main.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-24 05:13:37 +0200
committerSven Gothel <[email protected]>2010-04-24 05:13:37 +0200
commitec32272ad1d5ce2509f0907792a411446acca30d (patch)
tree85d1762019f8e66684a8ed7090688e88f4e4fb38 /src/demos/readbuffer/Main.java
parent0cd9dad723fb1eae0b30bab9f36318bbd0f2ee3d (diff)
Adaption to JOGL 1ad8c39df6b097c80ba7a85badf555e7f669cc3f
Diffstat (limited to 'src/demos/readbuffer/Main.java')
-rwxr-xr-xsrc/demos/readbuffer/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/readbuffer/Main.java b/src/demos/readbuffer/Main.java
index 67c1b59..566750e 100755
--- a/src/demos/readbuffer/Main.java
+++ b/src/demos/readbuffer/Main.java
@@ -4,6 +4,7 @@ import java.lang.reflect.*;
import javax.media.opengl.*;
import javax.media.nativewindow.*;
import com.jogamp.newt.*;
+import com.jogamp.newt.event.*;
import com.jogamp.newt.opengl.*;
public class Main implements WindowListener, MouseListener, SurfaceUpdatedListener {
@@ -154,7 +155,6 @@ public class Main implements WindowListener, MouseListener, SurfaceUpdatedListen
try {
Thread.sleep(2000);
} catch (Exception e) {}
- windowOffscreen.getFactory().shutdown();
System.out.println("readbuffer.Main shut down cleanly.");
} catch (GLException e) {
e.printStackTrace();