diff options
author | Sven Gothel <[email protected]> | 2010-04-24 05:13:37 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-24 05:13:37 +0200 |
commit | ec32272ad1d5ce2509f0907792a411446acca30d (patch) | |
tree | 85d1762019f8e66684a8ed7090688e88f4e4fb38 /src/demos/es2/RedSquare.java | |
parent | 0cd9dad723fb1eae0b30bab9f36318bbd0f2ee3d (diff) |
Adaption to JOGL 1ad8c39df6b097c80ba7a85badf555e7f669cc3f
Diffstat (limited to 'src/demos/es2/RedSquare.java')
-rwxr-xr-x | src/demos/es2/RedSquare.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java index 975a3f9..f289bdb 100755 --- a/src/demos/es2/RedSquare.java +++ b/src/demos/es2/RedSquare.java @@ -9,6 +9,7 @@ import com.jogamp.opengl.util.*; import com.jogamp.opengl.util.glsl.*; import com.jogamp.newt.*; +import com.jogamp.newt.event.*; import com.jogamp.newt.opengl.*; public class RedSquare extends Thread implements WindowListener, KeyListener, MouseListener, GLEventListener { @@ -144,9 +145,6 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo try { // Shut things down cooperatively window.destroy(); - if(oneThread) { - window.getFactory().shutdown(); - } window = null; if(null!=nWindow) { nWindow.destroy(true); |