diff options
Diffstat (limited to 'src/newt/classes/jogamp')
3 files changed, 5 insertions, 5 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java b/src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java index 05191e200..579edc590 100644 --- a/src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java +++ b/src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java @@ -277,7 +277,7 @@ public class AndroidNewtEventFactory { } if( event.getPressure() > maxPressure ) { - maxPressure = event.getPressure(); + maxPressure = event.getPressure(); // write to static field intended } // diff --git a/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/ScreenDriver.java b/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/ScreenDriver.java index 5c1c08ca8..e3e854cba 100644 --- a/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/ScreenDriver.java +++ b/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/ScreenDriver.java @@ -107,8 +107,8 @@ public class ScreenDriver extends ScreenImpl { /** Called from {@link #initNative()}. */ protected void setScreenSize(final int width, final int height) { - cachedWidth = width; - cachedHeight = height; + cachedWidth = width; // write to static field intended + cachedHeight = height; // write to static field intended } private static int cachedWidth = 0; diff --git a/src/newt/classes/jogamp/newt/driver/kd/ScreenDriver.java b/src/newt/classes/jogamp/newt/driver/kd/ScreenDriver.java index 06485ccef..71f8b1439 100644 --- a/src/newt/classes/jogamp/newt/driver/kd/ScreenDriver.java +++ b/src/newt/classes/jogamp/newt/driver/kd/ScreenDriver.java @@ -111,8 +111,8 @@ public class ScreenDriver extends ScreenImpl { } protected void sizeChanged(final int w, final int h) { - cachedWidth = w; - cachedHeight = h; + cachedWidth = w; // write to static field intended + cachedHeight = h; // write to static field intended } private static int cachedWidth = 0; |