diff options
author | Kenneth Russel <[email protected]> | 2005-02-24 00:35:49 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-02-24 00:35:49 +0000 |
commit | 509353b529f6da6f50221d84adbc0a6de8308f54 (patch) | |
tree | 54f16f6932ae14635a9fe230fd33eb1cf18157e0 /src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java | |
parent | 44bb69b570e3e7c4bafabc1116606da0f520fbc4 (diff) |
Added needed repaint() call after key events in demos where Animator
isn't being used any more
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@59 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java')
-rw-r--r-- | src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java index d36b7c6..f8a01aa 100644 --- a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java +++ b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java @@ -276,6 +276,7 @@ public class HWShadowmapsSimple { drawable.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent e) { dispatchKey(e.getKeyChar()); + canvas.repaint(); } }); } |