diff options
author | Sven Gothel <[email protected]> | 2009-10-11 07:42:54 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-11 07:42:54 -0700 |
commit | d1a53b3ba93789aea1c37d042bc722a2a9c052d9 (patch) | |
tree | 819e95193ca521d8f1f8389b78256ee94c59e104 /src/demos/es1/RedSquare.java | |
parent | f21921ffbee502483b87b0f7eb03c0af299cb24b (diff) |
ReadBuffer: Use temp file ; Use TextureIO ; JOGL 8f76db4364f66c36780e762e086a18d5cc315363
Diffstat (limited to 'src/demos/es1/RedSquare.java')
-rwxr-xr-x | src/demos/es1/RedSquare.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java index 5018d5b..026e1c2 100755 --- a/src/demos/es1/RedSquare.java +++ b/src/demos/es1/RedSquare.java @@ -138,7 +138,9 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo glAnimator = new Animator(Thread.currentThread().getThreadGroup(), window); glAnimator.start(); while (glAnimator.isAnimating()) { - Thread.yield(); + try { + Thread.sleep(100); + } catch (Exception e) {} } shutdown(); } else { |