Fixes the NullPointerException in the demos when using JoglNewtDisplay

experimental
Julien Gouesse 9 years ago
parent 9f56a45d56
commit 5f77ff021b
  1. 2
      jme3-jogl/src/main/java/com/jme3/system/jogl/JoglNewtDisplay.java

@ -173,6 +173,8 @@ public class JoglNewtDisplay extends JoglNewtAbstractDisplay {
if (waitFor){ if (waitFor){
waitFor(false); waitFor(false);
} }
if (animator.isAnimating())
animator.stop();
} }
public void restart() { public void restart() {

Loading…
Cancel
Save