aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-05-16 23:53:09 +0200
committerSven Gothel <[email protected]>2013-05-16 23:53:09 +0200
commit31e72d2f2d953352b2a8c83368039ecca8139d49 (patch)
tree5bbd52596aeed9acabbb6d99f2acaf7b8c4439bd /src/test/com/jogamp/opengl
parent86a5460c5052cdab7b9f6294c46a0b4e30dfa260 (diff)
NEWT: MouseEvent Ctor: Use proper float[] rotationXYZ and float rotationScale arguments.
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java b/src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java
index 05a24272c..3a2c4cc81 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java
@@ -134,7 +134,8 @@ public abstract class BaseNewtEventModifiers extends UITestCase {
if( _modifierCheckEnabled ) {
final MouseEvent expEvent = new MouseEvent(hasEvent.getEventType(), hasEvent.getSource(), hasEvent.getWhen(), _expectedModifiers,
- hasEvent.getX(), hasEvent.getY(), hasEvent.getClickCount(), hasEvent.getButton(), hasEvent.getWheelRotation());
+ hasEvent.getX(), hasEvent.getY(), hasEvent.getClickCount(), hasEvent.getButton(),
+ hasEvent.getRotation(), hasEvent.getRotationScale());
_checkModifierMask( expEvent, hasEvent, com.jogamp.newt.event.InputEvent.SHIFT_MASK, "shift" ) ;
_checkModifierMask( expEvent, hasEvent, com.jogamp.newt.event.InputEvent.CTRL_MASK, "ctrl" ) ;