summaryrefslogtreecommitdiffstats
path: root/src/demos/hwShadowmapsSimple
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-02-24 00:35:49 +0000
committerKenneth Russel <[email protected]>2005-02-24 00:35:49 +0000
commit509353b529f6da6f50221d84adbc0a6de8308f54 (patch)
tree54f16f6932ae14635a9fe230fd33eb1cf18157e0 /src/demos/hwShadowmapsSimple
parent44bb69b570e3e7c4bafabc1116606da0f520fbc4 (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')
-rw-r--r--src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java1
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();
}
});
}