aboutsummaryrefslogtreecommitdiffstats
path: root/src/demo
diff options
context:
space:
mode:
Diffstat (limited to 'src/demo')
-rw-r--r--src/demo/GPURendererListenerBase01.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demo/GPURendererListenerBase01.java b/src/demo/GPURendererListenerBase01.java
index ae72e6f66..e8dec4c01 100644
--- a/src/demo/GPURendererListenerBase01.java
+++ b/src/demo/GPURendererListenerBase01.java
@@ -207,7 +207,7 @@ public abstract class GPURendererListenerBase01 implements GLEventListener {
else if(arg0.getKeyCode() == KeyEvent.VK_9){
rotate(-1);
}
- else if(arg0.getKeyChar() == 'v') {
+ else if(arg0.getKeyCode() == KeyEvent.VK_V) {
if(null != autoDrawable) {
autoDrawable.invoke(false, new GLRunnable() {
public void run(GLAutoDrawable drawable) {