summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/RedSquare.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/es1/RedSquare.java
parent0cd9dad723fb1eae0b30bab9f36318bbd0f2ee3d (diff)
Adaption to JOGL 1ad8c39df6b097c80ba7a85badf555e7f669cc3f
Diffstat (limited to 'src/demos/es1/RedSquare.java')
-rwxr-xr-xsrc/demos/es1/RedSquare.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index 91534a7..2f1e4c1 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -11,6 +11,7 @@ import com.jogamp.opengl.util.*;
import com.jogamp.opengl.util.glsl.fixedfunc.*;
import com.jogamp.newt.*;
+import com.jogamp.newt.event.*;
import com.jogamp.newt.opengl.*;
public class RedSquare extends Thread implements WindowListener, KeyListener, MouseListener, GLEventListener {
@@ -169,9 +170,6 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo
System.out.println("SHUTDOWN "+Thread.currentThread()+" START");
// Shut things down cooperatively
window.destroy();
- if(oneThread) {
- window.getFactory().shutdown();
- }
window = null;
if(null!=nWindow) {
nWindow.destroy(true);